You might need to install JCE into your java. I think the sha512 algorithm may be one of the restricted ones that aren't allowed to be in the standard install due to export restrictions.
On Tue, Mar 19, 2019, 11:53 João Lobinho Amaral <joao.l.ama...@noesis.pt> wrote: > Hello, > > I'm looking for help on this. > > When trying to test the load of a website with a SHA-512 self-signed > certificate I receive this error: > Response code: Non HTTP response code: javax.net.ssl.SSLHandshakeException > Response message: Non HTTP response message: > java.security.cert.CertificateException: Certificates do not conform to > algorithm constraints > > > I've already tried to comment out the values on > \Java\jre1.8.0_201\lib\security\java.security to what is recommended here: > > https://stackoverflow.com/questions/14149545/java-security-cert-certificateexception-certificates-does-not-conform-to-algori > > > This doesn't help. > > java -version > java version "1.8.0_201" > Java(TM) SE Runtime Environment (build 1.8.0_201-b09) > Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode) > > > Any help here? > > Kind regards, > João > >