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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content