Google
 

'SSLHandshakeException'에 해당되는 글 1건

  1. 2008/04/11 바이웅 SSL(Secure Sockets Layer) 오류 (1)

SSL(Secure Sockets Layer)을 구성하거나 사용하도록 설정한 후 다양한 문제점이 발생할 수 있습니다. SSL을 구성한 후 Deployment Manager를 중지할 수 없을 수 있습니다. HTTPS를 사용하여 자원에 액세스할 수 없을 수 있습니다. 클라이언트와 서버가 적절한 보안 레벨을 조정할 수 없을 수 있습니다. 여기에 언급된 문제점은 몇 가지 가능성에 지나지 않습니다. 이러한 문제점을 해결하는 것은 WebSphere Application Server 조작에 필수입니다.

발생하는 문제점의 유형

IBM Information Center

javax.net.ssl.SSLHandshakeException: bad certificate

If you see a Java exception stack similar to the following example, it can be caused by having a personal certificate in the client keystore used for SSL mutual authentication but not having extracted the signer certificate into the server truststore file so that the server can trust it whenever the SSL handshake is made:

ERROR: Could not get the initial context or 
unable to look up the starting context. Exiting.
Exception received: javax.naming.ServiceUnavailableException:
A communication failure occurred while attempting to obtain
an initial context using the provider url:
"corbaloc:iiop:localhost:2809". Make sure that the host and
port information is correct and that the server identified
by the provider url is a running name server.
If no port number is specified, the default port number 2809
is used.Other possible causes include the network environment
or workstation network configuration. [Root exception is
org.omg.CORBA.TRANSIENT: CAUGHT_EXCEPTION_WHILE_CONFIGURING_SSL_CLIENT_SOCKET:
JSSL0080E: javax.net.ssl.SSLHandshakeException -
The client and server could not negotiate the desired level of security.
Reason: bad certificate: host=MYSERVER,port=1940 minor code:
4942F303 completed: No]

To verify this problem, check the server truststore file to determine if the signer certificate from the client personal certificate is there. For a self-signed client personal certificate, the signer certificate is the public key of the personal certificate. For a certificate authority signed client personal certificate, the signer certificate is the root CA certificate of the CA that signed the personal certificate.

To correct this problem, add the client signer certificate to the server truststore file.

문제가 되었던 'javax.net.ssl.SSLHandshakeException: bad certificate'관련 Archive입니다.
2008/04/11 01:28 2008/04/11 01:28
    태그 연관글
      이글의 태그와 관련된 글이 없습니다.
    구글광고
    구독안내 Bywoong Blog는 주 2~3회 새글이 올라옵니다. 블로그 방문없이 업데이트 되는 글을 구독하세요. RSS . E-Mail . HanRSS . WZD . Google Reader . Bloglines

    댓글을 달아 주세요

    1. OpenID Logo바이웅님의 생각 2008/04/27 01:31  댓글주소  수정/삭제  댓글쓰기

      WAS의 jdk버젼문제로 밝혀져서 해결했지만, 다른 원인도 있을듯하네요.

    [로그인][오픈아이디란?]



    Loading...