-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Private key doesn't contains PKI error #42
Comments
If you signing a CA and Certificates follow steps below, it works right and private key could be read through Create Root CA# Private key
openssl genrsa -out root.key 2048
# Self signed Certificate Authority
openssl req -new -x509 -days 365 -key root.key -out root.crt Create Server Certificate# Private key
openssl genrsa -out server.key 2048
# CSR file
openssl req -new -out server.csr -key server.key
# Signing Certificate
openssl x509 -req -in server.csr -out server.crt -CA root.crt -CAkey root.key -CAcreateserial -days 365 -extfile ../server.conf |
Found the reason: That's why I will create a PR soon. |
The standard PEM key file should named "RSA PRIVATE KEY" or "RSA PUBLIC KEY". fixed: kairoaraujo#42
The standard PEM key file should named "RSA PRIVATE KEY" or "RSA PUBLIC KEY". fixed: kairoaraujo#42
When I use xca to open the
key.pem
file, some error occurs.When I use curl to access a mTLS connection, the private key cannot be read.
The text was updated successfully, but these errors were encountered: