Can not connect to remote server: 5059 ERROR_CERTIFICATE_ERROR (unable to read server certificates from host=ad1-r2.nsula.edu, port=636 error: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints) fields: [unable to read server certificates from host=ad1-r2.nsula.edu, port=636 error: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints]
the certificate from the LDAP server was exported via the certificate tool windows as a cer file.
I have tried just renaming the cer file to pem and import it and get the same error.
when trying to convert the cer file to pem with this command:
openssl x509 -inform der -in ad1-r2.nsula.edu.cer -out ad1-r2.nsula.edu.pem
get this error:
unable to load certificate
140010979059616:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1319:
140010979059616:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:381:Type=X509
I tried to vi the .cer file and it looks like this: (replaced bunch of the content with '*' to post here)
-----BEGIN CERTIFICATE-----
MIIFdTCCBF2gAwIBAg******
**************************
***********BBAGCNxQCAjAL
-----END CERTIFICATE-----
Thanks in advance for help.
http://www.oracle.com/technetwork/java/javase/6u17-141447.html
If any of them are and for some reason you can change them, you can comment out the following in the java.security file located in the jdk folder
jdk.certpath.disabledAlgorithms=MD2
jdk.tls.disabledAlgorithms=SSLv3, RC4, MD5withRSA, DH keySize < 768
and Java 7
jdk.tls.disabledAlgorithms=SSLv3
--
You received this message because you are subscribed to the Google Groups "pwm-general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pwm-general...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pwm-general/c1474767-3c22-4a51-a79d-07125ed03dden%40googlegroups.com.