Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…

Topic-icon Solved Erreur (Could not generate DH keypair) lors de l'appel d'un web service SOAP

More
27 Oct 2017 10:06 #1 by Sylvie INGABIRE
Bonjour,

Lors de l'appel d'un web service SOAP, nous utilisons le runtime local, nous avons l'erreur ci-dessous. Pouvez-vous nous aider sur la cause de cette erreur?

Caused by: java.lang.RuntimeException: Could not generate DH keypair
at com.sun.net.ssl.internal.ssl.DHCrypt.<init>(Unknown Source)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverKeyExchange(Unknown Source)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
... 23 more
Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
at com.sun.crypto.provider.DHKeyPairGenerator.initialize(DashoA13*..)
at java.security.KeyPairGenerator$Delegate.initialize(Unknown Source)
... 30 more
More
27 Oct 2017 15:23 #2 by Thomas BLETON
C'est probablement lié à la version de Java faisant tourner ce Runtime, qui ne prend pas en charge la "Prime size" requise par le serveur Soap.
Essayez avec une version java plus récente pour confirmer cette piste.
More
03 Nov 2017 14:26 #3 by Sylvie INGABIRE
Nous n'avons plus l'erreur en changeant la version de java.
Merci