Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help :For eddsa certificates in server mode #103

Open
ghost opened this issue Apr 27, 2021 · 1 comment
Open

Help :For eddsa certificates in server mode #103

ghost opened this issue Apr 27, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 27, 2021

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));

@ic0ns
Copy link
Contributor

ic0ns commented Apr 27, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant