'TLS_DHE_RSA_WITH_AES_128_CCM support

I am getting below error when trying to run a server with TLS_DHE_RSA_WITH_AES_128_CCM: java.lang.IllegalArgumentException: Unsupported CipherSuite: TLS_DHE_RSA_WITH_AES_128_CCM at sun.security.ssl.CipherSuite.validValuesOf(Unknown Source) at sun.security.ssl.SSLServerSocketImpl.setEnabledCipherSuites(Unknown Source) at org.dcm4che3.net.TCPListener.createTLSServerSocket(TCPListener.java:87) at org.dcm4che3.net.TCPListener.(TCPListener.java:67) at org.dcm4che3.net.Connection.bind(Connection.java:976) at org.dcm4che3.net.Device.bindConnections(Device.java:746) at org.dcm4che3.tool.storescp.StoreSCP.main(StoreSCP.java:288)

Is there a workaround or fix for the same?



Solution 1:[1]

As mentioned by Dave, standard java does not support CCM. We need to use Bouncy Castle.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Amal Jesudas