Questions tagged [der]
DER stands for Distinguished Encoding Rules.
5 questions
1
vote
1
answer
9k
views
converting just a public key from PEM to DER using openssl
There are plenty of instructions for converting PEM certificates to DER which also pop up when looking for ways to convert public keys.
These are among the options offered:
openssl x509 -in cert.pem -...
0
votes
1
answer
373
views
Generating a DER-encoded DSA public key of a particular file size
I am reverse engineering a binary that contains a raw, DER-encoded X.509 certificate containing a DSA public key. I want to replace this certificate with one that I have generated so that I have ...
3
votes
1
answer
4k
views
OpenSSL encrypt DER format private key
When converting a password-protected PEM/PKCS1-encoded private key to DER format one is not able to encrypt the key, OpenSSL automagically asks for the password and writes the plain-text key in the ...
0
votes
1
answer
1k
views
How to add subject alternative name when converting PEM certificate to DER format?
Is it possible to add a subject alternative name when converting PEM certificate to DER format.
openssl x509 -outform der -in Certificate.pem -out Certificate.der -extensions SAN -subject-alternative-...
1
vote
1
answer
2k
views
How do I verify that an ssh public/private keypair go together, is it different for openssl and ssh-key generated keys?
Generating a Private Key...
$ openssl genrsa -out ./oci_api_key.pem 2048
Generate a Public Key...from the private key:
I'm trying to generate a public key from a private key in PEM format (the ...