Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

After migrating certs from SHA-1 to SHA-2 Algorithm the app have intermittent issues  RSS feed

 
Prathap Mullaguri
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,

Recently we have migrated the certificates from SHA-1 to SHA-2 from LDAP side and from our Application, after renewing the SHA-2 from LDAP side we are facing issues. I am using XML passing to LDAP through amclientsdk.jar, through https. The application is working fine sometimes and sometimes its not. I am seeing the below Error in our logs.

authenticateToAM:Admin Credentials AuthLoginException:AME~com.sun.identity.authentication.spi.AuthLoginException(1):null
com.sun.identity.authentication.spi.AuthLoginException(2):null
com.sun.identity.authentication.spi.AuthLoginException: Failed to create new Authentication Context: Naming Service is not available.
at com.sun.identity.authentication.AuthContext.createAuthContext(AuthContext.java:1246)
at com.sun.identity.authentication.AuthContext.createAuthContext(AuthContext.java:1197)
at com.sun.identity.authentication.AuthContext.<init>(AuthContext.java:177)


In Catalina logs i am seeing the below

TP-Processor3, SEND TLSv1 ALERT: fatal, description = certificate_unknown
TP-Processor3, WRITE: TLSv1 Alert, length = 2
TP-Processor3, called closeSocket()
TP-Processor3, handling exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: Certificate signature validation failed
TP-Processor3, called close()
TP-Processor3, called closeInternal(true)
Inside transaction method Type ::
Inside transaction method :: authenticateToAM:Admin Credentials AuthLoginException:AME
Inside transaction method Detail Info :: com.sun.identity.authentication.spi.AuthLoginException(1):null
com.sun.identity.authentication.spi.AuthLoginException(2):null
com.sun.identity.authentication.spi.AuthLoginException: Failed to create new Authentication Context: Naming Service is not available.
at com.sun.identity.authentication.AuthContext.createAuthContext(AuthContext.java:1246)
at com.sun.identity.authentication.AuthContext.createAuthContext(AuthContext.java:1197)
at com.sun.identity.authentication.AuthContext.<init>(AuthContext.java:177)


Could you please help on this. Thanks in Advance...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!