Archive for November, 2007
http://java.sun.com/docs/books/tutorial/networking/sockets/index.html
http://www.ibm.com/developerworks/edu/j-dw-javajsse-i.html
You require a free ibm id for this above.
http://www.ddj.com/java/184404478?pgno=1
I will be adding more later.
Filed under: TLS | Leave a Comment
Tags: resources, secure, socket
Secure Sockets in Java
In plain words secure sockets using javax.net.ssl package.
We need secure socket to connect to an ip and port with security. Thus Secure Socket is like a door which we need to go inside apartment whose address is its ip and door number is the port. Now how to we open the door. We need keys.
Certificates are keys which is verified and signed by some authority(Certifying Authority [...]
Filed under: TLS | Leave a Comment
Tags: code, java, security
When urgently you need some keystores and truststores to test out some security related java code this is a useful bat file to have. Copy the code below and create a bat file. run it and you got your stuff.
keytool -genkey -alias serverkeys -keyalg RSA -keystore server.k
eystore -storepass 123456 -keypass 123456 -dname “CN=localhost, OU=MYOU, O=MYORG, [...]
Filed under: TLS | 1 Comment
Tags: certificates, java, keystore, keytool, security, TLS