Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dsreplication truststore should have default value? #48

Open
ppbrown opened this issue Feb 15, 2019 · 2 comments
Open

dsreplication truststore should have default value? #48

ppbrown opened this issue Feb 15, 2019 · 2 comments

Comments

@ppbrown
Copy link
Contributor

ppbrown commented Feb 15, 2019

When trying to use dsreplicate initialize...
and you get prompted to authorized SSL certs, and you choose manual

and then it prompts for trust for No, This session only, or "add to truststore"...
and then it ASKS you for a PATH..

shouldnt it offer a default path? especially since there seem to be 3 potential ones in the config dir?

(seems like it should default to /opt/opendj/config/admin-truststore but I dont know)

Also.. it prompts for a password.
If you tell it /path/to/keystore, and /path/to/keystore.pin exists... seems like it should just use the .pin file instead of prompting you for a password?

@vharseko
Copy link
Member

The ads-truststore file holds the server's key pair for securing replication connections, and other replicas' public key certificates.

The key pair for the server has default alias ads-certificate.

The cleartext password is stored in ads-truststore.pin. It is also the private key password for ads-certificate.

This keystore is synchronized with the certificates under the base DN cn=admin data. Do not change this keystore directly unless you understand the impact on the server configuration.

@ppbrown
Copy link
Contributor Author

ppbrown commented Feb 15, 2019

OKay, thanks for that clarification.
there's still the issue of, "utility should prompt with a default path for truststore" :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants