Jump to content

Recommended Posts

Posted

Hi,

 

I have a CA Server Running Server 2012. Works good for issuing normal certificates.

 

I am trying to request a SAN certifcate for an internal IIS website. I have followed this guide under the section To use the Certificate Enrollment wizard with an enterprise CA.

 

I do not get the warning in step 13. But i pressed properties and added the other names as shown in the other steps.

 

When the certifate is issued it doesn't include the SANs.

 

What am i doing wrong please?

 

Thanks

Posted

I find it easier to use OpenSSL on a linux box for normal Web SSLs and modify the default conf file with the appropriate SANs.

I can then submit the CSR to the CA with no issues at all.

 

Other than that its a case of duplicating the Certificate template in Certificate Templates to allow additional info such as SANs

Posted
I used openssl on windows to generate a CSR. I have it a .cer file but i am struggling to use it as the key is not exportable :(
Posted

When I use OpenSSL in linux, all I do is copy the CER file (as long as I donwload it in Base64 format) and pate it into a CRT file..

 

cat > server.domain.fqdn.crt

 

the CRT is then valid.

 

the full sequence is:

 

openssl genrsa -des3 -out keyfile.key 2048

openssl req -new -key keyfile.key -out server.domain.fqdn.csr

cat server.domain.fqdn.csr

 

open http://cert-ca-server/certsrv

Follow the options to create a new certificate (request -> advanced) + paste the CSR text into the box and choose a WebServer template that is SAN capable

Download the CER in Base64 format

open in notepad++ and copy the text

in linux type:

cat > server.domain.fqdn.crt

 

Voila! one CRT file!

Posted (edited)

Yep it allows be to export a key if i generate the CSR in Windows or IIS.

 

Basically i want to make a SAN. Doing what it says in this link, is this the correct thing? - https://www.icts.uiowa.edu/confluence/display/ICTSit/CSR+Generation+for+SAN+%28aka+UCC+or+Multiple+Domain%29+Certificates+within+Apache

 

I have followed the above made a .csr but it into my CA now i have a .cer and a .key. Will this command turn them into a .pfx? - openssl pkcs12 -export -in certificate.cer -inkey privateKey.key -out certificate.pfx -certfile CACert.cer

 

Thanks

Edited by FN-GM

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...