TLS-Attacker icon indicating copy to clipboard operation
TLS-Attacker copied to clipboard

Help :For eddsa certificates in server mode

Open ghost opened this issue 3 years ago • 1 comments

For EDDSA certificates I need call same method CertificateKeyPair or different method Certificate readCertificate = PemUtil.readCertificate(new FileInputStream("resources/ed25519crt.pem")); PrivateKey privateKey = PemUtil.readPrivateKey(new FileInputStream("resources/ed25519key.pem")); conf.setDefaultExplicitCertificateKeyPair(new CertificateKeyPair(readCertificate, privateKey));

ghost avatar Apr 27 '21 08:04 ghost

this is the correct method, but it might be that x25519 certificates are not supported by our underlying api.

ic0ns avatar Apr 27 '21 08:04 ic0ns