When installing a new certificate on NetScaler either via the CLI or GUI, the following error is displayed:
Two certs issued by different CA, have the same OCSP AIA found. This is not supported
CA: Intermediate CA 1
[1]Authority Info Access
Access Method=On-line Certificate Status Protocol (1.3.6.1.5.5.7.48.1)
Alternative Name:
URL=http://ocsp.example.com
[2]Authority Info Access
Access Method=Certification Authority Issuer (1.3.6.1.5.5.7.48.2)
Alternative Name:
URL=http://crt.example.com/crt/IntermediateCA1.cer
CA: Intermediate CA 2
[1]Authority Info Access
Access Method=On-line Certificate Status Protocol (1.3.6.1.5.5.7.48.1)
Alternative Name:
URL=http://ocsp.example.com
[2]Authority Info Access
Access Method=Certification Authority Issuer (1.3.6.1.5.5.7.48.2)
Alternative Name:
URL=http://crt.example.com/crt/IntermediateCA2.cer
To resolve this issue, remove old certificate with duplicate AIA extensions.
You can find the cert-key pairs that contain the duplicate AIA extensions, by running the following commands from NetScaler shell:
for i in /nsconfig/ssl/*.c*r?; do out="$(openssl x509 -in $i -noout -ocsp_uri)";if [ ${#out} -gt 1 ] ;then echo "$i $out";fi;done
The following is a sample output:
root@ns# for i in /nsconfig/ssl/*.c*r?; do out="$(openssl x509 -in $i -noout -ocsp_uri)";if [ ${#out} -gt 1 ] ;then echo "$i $out";fi;done
/nsconfig/ssl/certificate1.crt http://ocsp.example.net
/nsconfig/ssl/certificate2.crt http://ocsp.example.net
Certificates with duplicate AIA extensions, from different CA's (possibly different Intermediates from the same root CA).
From NetScaler 11.1 55.x and 12.0-53.x, a new security feature has been added to stop users adding Certificates with duplicate AIA extensions. When these are added to the NetScaler, it can cause OCSP Request failures for the OCSP Stapling feature and other security concerns.
This is being reviewed under issue ID 694395. The issue fixed in version in 11.1 55.13 or above and in 12.0 53.13 or above
This will not occur in NetScaler builds earlier to 11.1 55.x and 12.0-53.x.