Skip to main content
3-Newcomer
April 13, 2023
Question

Self Signed wildcard certificate using keytool

Hello All,

 

I would like to know how we can generate the Self Signed Wildcard certificate using the keytool utility? If not possible through keytool, is there any other way using which we can generate the Self signed Wildcard certificate?

 

Thanks,

Avinash

 

 

6 replies

HelesicPetr
22-Sapphire II
April 13, 2023

Hi @AK_10025845 

 

Have you try this article? https://www.sslshopper.com/article-how-to-create-a-self-signed-certificate-using-java-keytool.html

 

PetrH

Translate
3-Newcomer
April 13, 2023

Hi @HelesicPetr 

 

Thanks for your reply.

From the shared Article and as per below snapshot, do we need to enter domain details in First and Last name?

e.g., CN=*.abc.com

AK_10025845_0-1681390177778.png

 

Regards,

Avinash

 

Translate
HelesicPetr
22-Sapphire II
April 13, 2023

If you generate certificate for some address you need to define full address. 

So yes you also need to use domain address

 

PetrH

Translate
jbailey
18-Opal
April 20, 2023

https://www.brainbytez.nl/tutorials/linux-tutorials/create-a-self-signed-wildcard-ssl-certificate-openssl/

 

Looks like you have to modify the .cnf file to be able to do it

Translate