MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.27k stars 21.45k forks source link

Error while execuring the certs.sh script in WSL #72744

Closed madhub closed 3 years ago

madhub commented 3 years ago

[Enter feedback here]

openssl.cnf content has follows

[ req ]
default_bits        = 4096
distinguished_name  = req_distinguished_name
string_mask         = utf8only
default_md          = sha512

[ req_distinguished_name ]
countryName                     = IN
stateOrProvinceName             = Karnataka
localityName                    = Bangalore
0.organizationName              = xyz-tech
organizationalUnitName          = dev
commonName                      = SelfSignedTest
emailAddress                    = xyx@xyztech.in

[ rootCA_ext ]
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid:always,issuer
basicConstraints = critical, CA:true
keyUsage = critical, digitalSignature, cRLSign, keyCertSign

[ interCA_ext ]
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid:always,issuer
basicConstraints = critical, CA:true, pathlen:1
keyUsage = critical, digitalSignature, cRLSign, keyCertSign

[ server_ext ]
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid:always,issuer
basicConstraints = critical, CA:false
keyUsage = critical, digitalSignature
extendedKeyUsage = serverAuth

image


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

SubhashVasarapu-MSFT commented 3 years ago

@madhub, Thanks for reaching out. We will investigate and update this thread.

SubhashVasarapu-MSFT commented 3 years ago

@madhub, Appreciate your patience. Looks like recent edits on the document avoided these errors. I did verify it with a lab in my local repo. Please give a try again.

image

We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.