Now on days, software components expose some sort of API using a REST interface. In addition, the typical response comes in JSON format. While this very convenient for a browser to interpret, using JSON in a bash script is not as simple. I came across this project on github called underscore and I must admit I liked it. I highly recommend reading it's short README file. I figured I'd write some about my issues installing it.
Thursday, January 16, 2014
Tuesday, July 3, 2012
Surefire/Failsafe maven plugin and SSL
I was puzzled today by an interesting feature introduced by the "surefire" and "failsafe" maven plugins (used for unit/integration test my components). These were introduced with their 2.1 release. As I had components calling web services using 2-way SSL for authentication, I noticed that my test cases where failing when using maven via command line (mvn clean install). They worked on the IDE (Eclipse/STS) fine, but were not working on the command line. I saw the following error:
This is what I discovered as I read more the documentation.
PKIX path building failed: ... unable to find valid certification path to requested targetSo it was clear that maven was not passing the SSL system properties from my .mavenrc file:
This is what I discovered as I read more the documentation.
Monday, June 18, 2012
2-Way SSL in JBoss 7.1.1
As I tried to setup 2-way SSL in JBOSS 7.1.1, the documentation kept on referring to 1-way SSL (even though it was not clearly stated so). I was looking for a simple configuration that will enable a certificate to be used as authentication and to be used in a 2-way SSL protocol. Given that the documentation was not properly describing how to do this, I found a post pointing to check XSD documents to see what other configuration options are available in JBOSS. As I was simply trying to configure in "standalone" mode, this is what I did:
Subscribe to:
Posts (Atom)