Fix some mistakes in the SSL certificate tweaks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
48b64fc79a
commit
9c023486d9
@ -162,7 +162,7 @@ nsCertType = server, client, objsign
|
||||
nsComment = "OpenSSL Generated Server Certificate"
|
||||
subjectKeyIdentifier=hash
|
||||
authorityKeyIdentifier=keyid,issuer
|
||||
keyUsage = digiatalSignature,KeyAgreement
|
||||
keyUsage = digitalSignature,keyAgreement
|
||||
extendedKeyUsage = serverAuth
|
||||
|
||||
[ usr_cert ]
|
||||
@ -173,7 +173,7 @@ extendedKeyUsage = serverAuth
|
||||
# requires this to avoid interpreting an end user certificate as a CA.
|
||||
|
||||
basicConstraints=CA:FALSE
|
||||
keyUsage = digiatalSignature,KeyAgreement
|
||||
keyUsage = digitalSignature,keyAgreement
|
||||
extendedKeyUsage = clientAuth
|
||||
|
||||
# Here are some examples of the usage of nsCertType. If it is omitted
|
||||
|
@ -51,7 +51,7 @@ done
|
||||
mkdir -p $USERHOME/.xcat
|
||||
cd $USERHOME/.xcat
|
||||
openssl genrsa -out client-key.pem 2048
|
||||
openssl req -config $XCATCADIR/openssl.cnf -new -key client-key.pem -out client-req.pem -extensions usr_crt -subj "/CN=$CNA"
|
||||
openssl req -config $XCATCADIR/openssl.cnf -new -key client-key.pem -out client-req.pem -extensions usr_cert -subj "/CN=$CNA"
|
||||
cp client-req.pem $XCATDIR/ca/root.csr
|
||||
cd -
|
||||
cd $XCATDIR/ca
|
||||
|
Loading…
Reference in New Issue
Block a user