When I try to verify the password for my exported.pkcs12, I get: keytool error: java.io.IOException: keystore password was incorrect. I was under the impression that the Certbot *.pem do not have a password. Am I wrong?
My domain is: myserver.mygroup.mytoplvldomain.de
I ran this command:
PS C:\WINDOWS\system32> certbot certonly --standalone
It produced this output:
Saving debug log to C:\Certbot\log\letsencrypt.log
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): myserver.mygroup.mytoplvldomain.de [www.myserver.mygroup.mytoplvldomain.de]...
Requesting a certificate for myserver.mygroup.mytoplvldomain.de and 4 more domains
Successfully received certificate.
Certificate is saved at: C:\Certbot\live\myserver.mygroup.mytoplvldomain.de\fullchain.pem
Key is saved at: C:\Certbot\live\myserver.mygroup.mytoplvldomain.de\privkey.pem
This certificate expires on 2024-06-03.
These files will be updated when the certificate renews.
Certbot has set up a scheduled task to automatically renew this certificate in the background.
I ran this command:
C:\Certbot\live\myserver.mygroup.mytoplvldomain.de>openssl
OpenSSL> pkcs12 -export -out .\exported.pkcs12 -inkey .\privkey.pem -in .\fullchain.pem -name MyServer
It produced this output: - (but created ./exported.pkcs12)
I ran this command:
PS C:\Certbot\live\myserver.mygroup.mytoplvldomain.de> keytool -keypasswd -keystore exported.pkcs12 -alias MyServer -storepass STOREPASS
It produced this output:
keytool error: java.io.IOException: keystore password was incorrect
My web server is (include version): Apache
The operating system my web server runs on is (include version): Windows Server 2019
My hosting provider, if applicable, is: -
I can login to a root shell on my machine (yes or no, or I don't know): Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): No
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 2.9.0