lkremer
13 years agoOccasional Contributor
CLI login parameter for accepting certificate
I am looking for a login command parameter/global option which allows me to accept the certificate when this appears:
The SSL certificates sent by the server could not be validated:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
It is possible, though unlikely, that someone may be trying to
intercept your communication with this service. If you have
questions about the validity of the certificate, please check with
your administrator.
What would you like to do?
P: Print the certificate chain.
A: Accept the certificate permanently (automatically accept this certificate in
the future).
T: Temporarily accept this certificate (confirm again upon next connection).
R: Reject the certificate.
The SSL certificates sent by the server could not be validated:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
It is possible, though unlikely, that someone may be trying to
intercept your communication with this service. If you have
questions about the validity of the certificate, please check with
your administrator.
What would you like to do?
P: Print the certificate chain.
A: Accept the certificate permanently (automatically accept this certificate in
the future).
T: Temporarily accept this certificate (confirm again upon next connection).
R: Reject the certificate.