Hi,Im currently having trouble supplying an self-signed SSL Certificate to jetty:
Im generating the self-signed certificate and keystore using:/keytool -genkeypair -alias jetty -validity 365 -keyalg RSA -keysize 2048 -keystore jetty.p12 -storetype pkcs12
/ My SSLContext looks like this now: jetty.sslContext.keyStorePath=jetty.p12 jetty.sslContext.trustStorePath=jetty.p12 jetty.sslContext.keyStoreType=PKCS12 jetty.sslContext.trustStoreType=PKCS12 jetty.sslContext.keyStorePassword=changeit jetty.sslContext.trustStorePassword=changeit jetty.sslContext.keyManagerPassword=changeit Starting jetty i get the following error:Exception in thread "main" java.io.IOException: keystore password was incorrect at java.base/sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:2159)
I double and triple checked the keystore password and it is correct. Keytool is able to open the store
I tried with different passwords but none worked. Jetty 10.0.15 Amazon Corretto-17.0.7.7.1 Ubuntu 22.04 I hope someone can help me out here. -- Mit freundlichen Grüßen/Best Regards *Timo Brunn* Website: timo-brunn.de <https://timo-brunn.de> /Um ihre Echtheit zu bestätigen, wurde diese E-Mail digital signiert. To prove its authenticity, this E-Mail has been digitally signed./
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ jetty-users mailing list jetty-users@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users