Expand my Community achievements bar.

Can we replicate truststore and keystore for authentication service user from author to two publish instances

Avatar

Community Advisor

Hi Team,

I was trying to create saml configuration using run mode for author and publish instances.

But i am confused on below-

1. In saml config we need to add truststore id and keystore password but if i create them separately on author and publish then i cant keep saml config in config folder 

 

2. Can we replicate truststore and keystore from author to publish instances?

2 Replies

Avatar

Community Advisor

Hi,

I am not sure if replication would work because you need to upload certificates from instances. The issue is whenever you upload a trust cert it creates a alias which is random and you need to add that in saml.

 

For keystroke the alias does not change with new certificate upload.

 

I did it with curl(uploading certificate, reading alias and updating saml osgi config) but not using package manager.



Arun Patidar

Avatar

Community Advisor
Yes thats what i did in other servers but for prod ams server i thought of adding them in code so that they get deployed as part of code package.