목록certification (2)
이야기박스

netty 서버에 TLS 인증서 세팅을 하는 과정에서 다음 에러가 발생한 적이 있습니다. Caused by: java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: IOException : algid parse error, not a sequence at sun.security.ec.ECKeyFactory.engineGeneratePrivate(ECKeyFactory.java:169) at java.security.KeyFactory.generatePrivate(KeyFactory.java:372) at io.netty.handler.ssl.SslContext.getPrivateKeyFromByteBuffer(SslCo..
배경netty-grpc 서버의 ssl 통신을 시도하는 도중, 에러가 발생하였다.해당 에러 코드Caused by: javax.net.ssl.SSLHandshakeException: General OpenSslEngine problemCaused by: java.security.cert.CertificateException: No subject alternative DNS name matching localhost found. 로그 레벨을 trace로 변경 후, 찍어보니2018-09-07 15:01:29 DEBUG: io.netty.util.internal.NativeLibraryLoader - Unable to load the library 'netty_tcnative_windows_x86_64', try..