-
Notifications
You must be signed in to change notification settings - Fork 35
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
load error #67
Comments
For |
not 'BKS',is 'PKCS12' |
This is because pyjks do not support pkcs12 keystores. although they are now default: This is how I print them in *.pem format:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
raise BadKeystoreFormatException('Not a JKS or JCEKS keystore'
jks.util.BadKeystoreFormatException: Not a JKS or JCEKS keystore (magic number wrong; expected FEEDFEED or CECECECE);
when i use keytool,print this:
Keystore type: PKCS12
Keystore provider: SUN
Your keystore contains 1 entry
Alias name: abc
Creation date: 2021年2月28日
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: ......
Issuer: ......
Serial number: ......
Valid from: Sun Feb 28 18:14:51 CST 2021 until: Mon Feb 16 18:14:51 CST 2071
Certificate fingerprints:
SHA1: ......
SHA256: ......
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
Extensions:
#1: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [...]
how can i use pyjks lib for type PKCS12,thanks
The text was updated successfully, but these errors were encountered: