Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am exploring the option to use Okta SAML authentication. Since my evaluation period expired for Okta not able to ask in Okta site, so I thought codeproject forum experts might help. When we register a website in Okta, we get a 509 certificate in xxxx.cert format.
I would like to get a pfx file from xxxx.cert file.

What I have tried:

In git bash using below command I was able to create the .key file in windows 

winpty openssl genrsa -des3 -out xxxx.key 2048


When I try the below for pfx
winpty openssl pkcs12 -export -out xxxx.pfx -inkey xxxx.key -in xxx.cert

I get "no certificate match private key"
Please help.
Posted

1 solution

I entered the right password for the key. But still this issue. is .cert file different from .crt or .cet file
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900