How to configure SSL Between Weblogic and Apache

    1) Set WLS Environment C:\Oracle\Middleware\wlserver_10.3\server\bin>setWLSEnv.cmd 2) Go to the lib directory and covert WLS Root Certificate to .pem format C:\Oracle\Middleware\wlserver_10.3\server\lib>java utils.der2pem CertGenCA.der C:\Oracle\Middleware\wlserver_10.3\server\lib>dir CertGen* Volume in drive C is Windows8_OS Volume Serial Number is 8C04-A406 Directory of C:\Oracle\Middleware\wlserver_10.3\server\lib 01/03/2015 09:29 PM 540 CertGenCA.der 01/19/2015 07:47 PM 786 CertGenCA.pem

Continue reading »

Two way SSL Webservice on Weblogic Server

This article provides sample Webservice and Webservice Client for two way SSL. It also demonstrates the use of WLSSSLAdapter class to send certificates to the server. 1. Create a JWS with the following policy  : Wssp1.2-2007-Https-ClientCertReq.xml   package examples.webservices.security_jws; import weblogic.jws.WLHttpTransport; import weblogic.jws.Policies; import weblogic.jws.Policy; import javax.jws.WebService; import javax.jws.WebMethod; import javax.jws.soap.SOAPBinding; @WebService(name="SecureHelloWorldPortType",

Continue reading »

SSL Configuration with Jboss server

The below post describes the steps to configure SSL for your JBoss Server. Steps: 1:- Create a self signed certificate by using the keytool utility. a: Create a private key – public key pair. keytool –genkey –alias mykey –keypass password –keystore identity.jks –storepass password b: Self sign the certificate. keytool

Continue reading »

SSL Exceptions in Admin Server and Node Manager.

javax.net.ssl.SSLKeyException: [Security:090482]BAD_CERTIFICATE alert was received from oracle.test.com – xx.xxx.xx.xx. Check the peer to determine why it rejected the certificate chain (trusted CA configuration, hostname verification). SSL debug tracing may be required to determine the exact reason the certificate was rejected.   <WARNING> <Uncaught exception in server handlerjavax.net.ssl.SSLHandshakeException: Remote host closed

Continue reading »