I want to create certificate request with openssl. I am required to have use 'E' for the email field name in the subject. So I have tried the following command:
openssl req -new -key privkey.pem -subj "/[email protected]" -out request.pem
In response I get:
Subject Attribute E has no known NID, skipped
What does exactly as it sayis. If I add more arguments to subject they are added, but email is skipped.
I have tried google and this same error message comes up several times, but I failed to find solution.
I have tried openssl 0.9.8o and 1.0.1c.
Procedure. The self-signed certificate can be mitigated by using a certificate from trusted CA and the certificates can be imported to switch using any of the following CLIs: download ssl ipaddress certificate ssl-cert cert_file. download ssl ipaddress privkey key_file.
The short name you're looking for is "emailAddress", rather than "E". This works:
openssl req -new -key privkey.pem -subj "/[email protected]" -out request.pem
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With