Showing posts with label ssl. Show all posts
Showing posts with label ssl. Show all posts

Apr 10, 2014

RabbitMQ 3.3.0 SSL

If you want the rabbitmq manager to work with ssl only put this in the rabbitmq.config

{rabbitmq_management,
  [{listener, [{port,     15672},
                  {ssl,      true},
                 {ssl_opts, [{cacertfile, "/home/me/testca/cacert.pem"},
                            {certfile,   "/home/me/testca/server/cert.pem"},
                              {keyfile,    "/home/me/testca/server/key.pem"},
                              {verify, verify_peer},
                              {fail_if_no_peer_cert, false }]}]}]},


Before doing so, you need to use the openssl to create the necessary certificates.
Beware to use the latest patch to the openssl that includes the bug fix for heartbeat bug.
Where ? you can read here, it's one possible example.


Mar 6, 2014

Forticlient SSL VPN

At Least at the moment when i am writing this post, after upgrading ubuntu from 12.XX to 13.10

The UI app of Forticlient SSL VPN stopped working and only the CLI is available.

Btw, for my opinion the CLI works better and easy to use.


Dec 23, 2010

load certificates in java

Just add this line below to your context listener for example.


System.setProperty("javax.net.ssl.trustStore", "c:/certificates/certificates_storage_file");
System.setProperty("javax.net.ssl.trustStorePassword", "password");

Simple as that.

Dor