Как установить ключ spe c или свойство KEYEXCHANGE при генерации самоподписанного сертификата с использованием openssl - PullRequest
1 голос
/ 05 мая 2020

Я использую открытый ssl на «windows 2012R2» для создания самозаверяющего сертификата. Используя приведенную ниже команду, я создал сертификат

openssl genrsa -des3 -out ab.key 
openssl req -new -x509 -key ab.key -out ab.crt
openssl pkcs12 -inkey ab.key -in ab.crt -export -out ab.pkcs12
openssl x509 -in ab.crt -out ab.pem

Getting the error while import the certificate - The selected certificate  does not have the KeySpec 
Exchange property. This property is required by SQL Server to import a certificat Import error: 0x2, Windows Native Error: 0x80092004

I have checked the opennssl config file but could not get like where to set this property.
...