Generate a CSR with a configfile using openssl on Ubuntu

Hello there,
Need help. I am trying to generate CSR with a configfile using openssl on Ubuntu.

I have added an subjectAltName in my config file
the config file look like this
config-file

i have run the following command to generate the csr

openssl req -new -key /etc/ssl/private/SONM2023/wildcard.key -out mynm.csr -config test.conf
no error and the CSR generated

when i am trying to view the content of the CSR online on the website CSR Decoder
CSR Decoder

I can see that the SAN field is empty. But it was specified in the field and no error was generated. Does anyone knows why the CSR decoder does not see that field?

thanks

Hi @tajoel2005 ,

I don’t know why the SAN is not show in this online decoder but you can see it using the command :

openssl req -text -noout -verify -in mynm.csr

or you can use another decoder like this one CSR Decoder and Certificate Decoder | CSR Checker | Certificate Checker

Regards

1 Like

thanks @mmkmou I will check that

1 Like