Appendix |
This appendix describes how to install SSL certificate for web map service (WMS).
If you are adding a HTTPs WMS URL which uses a SSL certificate that is not trusted by SSA server, you need to install the root certificate or any intermediate certificates for corresponding certificate authority in SSA trust store. SSA server by default makes use of default JDK trust store file cacerts found in JDK directory.
"%JAVA_HOME%/bin/keytool" -import -alias <alias_for_CA_certificate> -keystore <path_to_cacerts> -trustcacerts -file <path_to_root_certificate>
A sample command looks like:
"%JAVA_HOME%/bin/keytool" -import -alias Example_SSL_CA_G2 -keystore "%JAVA_HOME%/jre/lib/security/cacerts" -trustcacerts -file "F:/SSL/Example_SSL_CA_G2.cer"