Share via


How to generate certificate for all purposes?

//spent lot of time on this issue, so in case, if you want to generate certificate for all purposes, this blog should help you

I installed Microsoft certificate server on my machine and I am trying to generate certificate from asp page (certificate server will create web server and creates virtual directory with all asp pages, by using these asp pages, you can create certificate from remote machine)

STEP1:

I am browsing certificate server machine

https://remotemachine/certsrv/

 

STEP2:

Choose advanced certificate request and it will show you ASP form with couple of text boxes

STEP3:

Select type of certificate is other and enter following values(in case if you want certificate for client and server authentication,we will enter server key,client key) and submit certificate (select store certificate in the local computer store option also)

Format is: server certificate, client certificate

1.3.6.1.5.5.7.3.1 - id_kp_serverAuth
1.3.6.1.5.5.7.3.2 - id_kp_clientAuth
1.3.6.1.5.5.7.3.3 - id_kp_codeSigning
1.3.6.1.5.5.7.3.4 - id_kp_emailProtection
1.3.6.1.5.5.7.3.5 - id-kp-ipsecEndSystem
1.3.6.1.5.5.7.3.6 - id-kp-ipsecTunnel
1.3.6.1.5.5.7.3.7 - id-kp-ipsecUser
1.3.6.1.5.5.7.3.8 - id_kp_timeStamping
1.3.6.1.5.5.7.3.9 - OCSPSigning

1.3.6.1.5.5.7.3.1,1.3.6.1.5.5.7.3.2,1.3.6.1.5.5.7.3.3,1.3.6.1.5.5.7.3.4,1.3.6.1.5.5.7.3.5,1.3.6.1.5.5.7.3.6,1.3.6.1.5.5.7.3.7 ,1.3.6.1.5.5.7.3.8,1.3.6.1.5.5.7.3.9

REFERENCE:

https://www.alvestrand.no/objectid/1.3.6.1.5.5.7.3.html