Search |
||
How to have your Own CA and configure Glassfish and your clients for mutual authentication?, Part IIPosted by kalali on August 23, 2007 at 2:19 PM PDT
In the second part of the series, you can see how we can utilize EJBCA to create certification for a client side application which will communicate with Glassfish server when Client cert authentication (Mutual Authentication) is enabled whether by changing the listener attributes or by describing it in the web-config.xml. In order to create client certification we will need to perform following steps as described in 4 sections: Section 1: Creating clients certification profile:
Section 2: Create servers end entities profile:Now you have create a profile which in next sections you can create certifications which will comply with it. Now we will need to create an End Entity Profile so follow these steps to create it.
Now we are reaching an step in which we will create the real certificate that client will use to prove its identity and initiate SSL enabled session. To create the certificate perform following steps: Section 3: Create Client certification
Section 4: Use the certification in Client Application.You are done, the certification is ready to be downloaded and used.
By pressing OK a JKS file will download to your computer. Create two copies of the file and Rename them to keystore.JKS and cacerts.jks. In order to create a SSL enabled client, either web service client or any type of socket client which need to use SSL you can follow one of the following path:
Make sure that you are using correct location and password for your files, passwords are same as one you used to download the JKS files. I should say again that you can explore and perhaps learn more about jks files, keys and certification by exploreing your stores, you can use jks file editor located at http://members.aon.at/bhuber14/nbm.html. Also if you are may find more cool key store editor in NetBeans Module Portal For more information or maybe to find some of your questions answered you may take a look at:
»
Related Topics >>
Java Enterprise Comments
Comments are listed in date ascending order (oldest first)
|
||
|
|