Skip to content

Commit

Permalink
changeit is the default password on Tomcat 11 and earlier
Browse files Browse the repository at this point in the history
As a result, it will not get saved.
  • Loading branch information
rmaucher committed Nov 14, 2024
1 parent f6595da commit 5d6ad5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/org/apache/catalina/storeconfig/TestStoreConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void testListener() throws Exception {
new org.apache.tomcat.util.net.SSLHostConfigCertificate(tc_SSLHostConfig_22,
org.apache.tomcat.util.net.SSLHostConfigCertificate.Type.RSA);
tc_SSLHostConfigCertificate_23.setCertificateKeystoreFile("conf/localhost-rsa.jks");
tc_SSLHostConfigCertificate_23.setCertificateKeystorePassword("changeit");
tc_SSLHostConfigCertificate_23.setCertificateKeystorePassword("mypassword");
tc_SSLHostConfig_22.addCertificate(tc_SSLHostConfigCertificate_23);
tomcat.getConnector().addSslHostConfig(tc_SSLHostConfig_22);

Expand Down

0 comments on commit 5d6ad5c

Please sign in to comment.