Quantcast
Channel: Public Key Infrastructure PowerShell module
Viewing all articles
Browse latest Browse all 729

Closed Unassigned: Add Subject Alternate Names to Cert Request [39]

$
0
0
**Camelot wrote:**
> Ok, if you are aware about these risks, then the following syntax must be used:
> ```
> Submit-CertificateRequest <parameters> -Attribute "san:dns=www.example.com&dns=sip.example.com"
> ```

We did the following tests:

1. Submit-CertificateRequest -Path d:\temp\acertRequest.cer -CertificateAuthority $myCA -Attribute 'CertificateTemplate:TestServerInternalStandard','san:dns=testname1.infineon.com&dns=testname2.infineon.com'

In this case only the required by the CA Template was taken.

2. Submit-CertificateRequest -Path d:\temp\acertRequest.cer -CertificateAuthority $myCA -Attribute 'san:dns=testname1.infineon.com&dns=testname2.infineon.com','CertificateTemplate:TestServerInternalStandard'

In this case only the Sans were taken and not the Template which resulted in an "Requeststatus denied" as our CA requires a Templatename.

Do you have an idea what we got wrong? Our CA is hosted on an Win2008 R2 Server.

Thanks Andreas
Comments: Fixed in 2.8

Viewing all articles
Browse latest Browse all 729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>