Either current versions of PingFederate (8.0) or PingAccess (3.2) fixes the ssl certificate change automatically, despite you have the intermediate certificate installed.
To fix this you simple need to perform the following steps:
1) Determine which intermediate certificate was used to sign the SSL certificate. This may be determined by noting the Issuer DN when viewing certificate details. Export it to a file.
2) Check your runtime server certificate and export only the public key to a file.
3) Combine the exported public key for your runtime server certificate with the intermediates public key. To do this, use the following openssl command:
openssl crl2pkcs7 -nocrl -certfile yourruntimeserversSSLpublickey.crt -certfile publickeyintermediateca.crt -outform PEM -out csr_response.p7
4) Now import the resulting p7 file. You do this by simple choosing Import CSR response.
5) To test that PingFederate/PingAccess is indeed including the intermediate certificate when negotiating SSL, you may test with the following command, which should show both the primary and intermediate certificates in the response:
openssl s_client -connect yourservername:443 -showcerts
Visar inlägg med etikett PingAccess. Visa alla inlägg
Visar inlägg med etikett PingAccess. Visa alla inlägg
torsdag 27 augusti 2015
tisdag 14 juli 2015
Disable Secure Client-Initiated Renegotiation in PingAccess
If you have a system running PingAccess you have maybe notices when scanning the system with ssllabs scanner that it supports Secure Client-Initiated Renegotiation which is not good in a security point of view.
So how do you disable it? Well, since PingAccess is a Java application it simple relies on Java do disable it. The easiest way to disable it is in the run.sh or run.bat:
"$JAVA" -classpath "$CLASSPATH" $JAVA_OPTS \
-Djavax.net.ssl.sessionCacheSize=5000 \
-Djava.net.preferIPv4Addresses=true \
-Djava.net.preferIPv4Stack=true \
-Djava.net.preferIPv6Addresses=false \
-Djava.awt.headless=true \
-Djdk.tls.rejectClientInitiatedRenegotiation=true \
-Dpa.jwk="$pajwk" \
-Dblitz4j.configuration="$BLITZ_PROPS" \
-Drun.properties="$runprops" \
-Dbootstrap.properties="$bootprops" \
-Dpa.home="$PA_HOME" \
com.pingidentity.pa.cli.Starter "$@"
By adding that little tls.reject line you have disabled Secure Client-Initiated Renogoation in PingAccess.
So how do you disable it? Well, since PingAccess is a Java application it simple relies on Java do disable it. The easiest way to disable it is in the run.sh or run.bat:
"$JAVA" -classpath "$CLASSPATH" $JAVA_OPTS \
-Djavax.net.ssl.sessionCacheSize=5000 \
-Djava.net.preferIPv4Addresses=true \
-Djava.net.preferIPv4Stack=true \
-Djava.net.preferIPv6Addresses=false \
-Djava.awt.headless=true \
-Djdk.tls.rejectClientInitiatedRenegotiation=true \
-Dpa.jwk="$pajwk" \
-Dblitz4j.configuration="$BLITZ_PROPS" \
-Drun.properties="$runprops" \
-Dbootstrap.properties="$bootprops" \
-Dpa.home="$PA_HOME" \
com.pingidentity.pa.cli.Starter "$@"
By adding that little tls.reject line you have disabled Secure Client-Initiated Renogoation in PingAccess.
Prenumerera på:
Inlägg (Atom)