Support of GCM cipher with PKCS#11 in Java

Solution Verified - Updated -

Issue

  • NoSuchAlgorithmException: No such algorithm: AES/GCM/NoPadding when using PKCS#11 JCA provider in Red Hat Enterprise Application Platform 7.3
  • NoSuchAlgorithmException: Unsupported mode GCM when using PKCS#11 with NSS in FIPS mode and TLSv1.2 with Java server application

Environment

  • Red Hat OpenJDK8
  • Oracle JDK8
  • Red Hat JBoss Enterprise Application Server (EAP)
  • Red Hat JBoss Enterprise Web Server (EWS)
  • Apache Tomcat

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In