tcotts
tcotts

Reputation: 350

Converting a CSR in DER format to PEM format without a private key

I have a CSR that I obtained from Okta. Unfortunately, Okta provides the CSR in DER format. I don't have the private key used to generate this CSR, so how would I convert it to PEM format?

Is this possible at all?

Upvotes: 1

Views: 3339

Answers (1)

leeharvey1
leeharvey1

Reputation: 1436

Yes, you can use OpenSSL to convert the DER formatted CSR to PEM format.

To do so, here's an example command-line:

openssl req -inform DER -outform PEM -in CSR.der -out CSR.pem

Upvotes: 2

Related Questions