That question has been answered a few days ago. Here's an example:
openssl req -new -newkey rsa:2048 -keyout dumb.key -nodes -out dumb.req
-subj "/C=UT/O=Whatever/GN=Per/SN=Edlund"
--
Erwann ABALEA
Le 20/05/2013 16:47, Per Edlund a écrit :
Hello!
I need to create a key and a csr with SN=xxx
Hello!
I need to create a key and a csr with SN=x but can't find any way to do
this.
Does anyone know how to do this?
Kind regards
/Per Edlund
signature.asc
Description: Message signed with OpenPGP using GPGMail
Thanks
On 20 maj 2013, at 18:13, "Salz, Rich" wrote:
>> Is there a way with openssl to create a key/csr with SN attribute?
>
>> As I can see, only CN, O, OU etc are available. If not with openssl, does
>> anyone know another tool to create this with?
>
> You can do it. The 'trick' is that
On Mon, May 20, 2013 at 05:58:43PM +0200, Per Edlund wrote:
> Is there a way with openssl to create a key/csr with SN attribute?
[dn_req]
surname = Smith
Likewise with the "-subj" option use:
-subj "/surname=Smith".
or
-subj "/SN=Smith".
> As I can see, only CN, O, OU e
> Is there a way with openssl to create a key/csr with SN attribute?
> As I can see, only CN, O, OU etc are available. If not with openssl, does
> anyone know another tool to create this with?
You can do it. The 'trick' is that you have to have a default value, so put
"SN=unknown" in the globa
Hi!
Is there a way with openssl to create a key/csr with SN attribute?
As I can see, only CN, O, OU etc are available. If not with openssl, does
anyone know another tool to create this with?
Kind regards
/Per
signature.asc
Description: Message signed with OpenPGP using GPGMail