clj-http over SSL?

2014-01-04 Thread aidy lewis
Hi, Is it possible to use clj-http over SSL, and if so could someone please post an example which uses a SSL client cert? Many Thanks -- @AidyLewis -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@go

JAVA_OPTS not accessible in my Clojure project

2014-01-10 Thread aidy lewis
Clojurians, For some reason JAVA_OPTS are not accessible in my Clojure project. The command line seems to be OK, if I: $ lein repl project-ns => (System/getProperty "javax.net.ssl.keyStore") -> "/../certs/dev.bbc.co.uk.p12" However, if I load the nRepl in the lein project: project-ns => (

Re: JAVA_OPTS not accessible in my Clojure project

2014-01-10 Thread aidy lewis
dy, > > What do mean when you say "load the nRepl in the lein project"? > > Juan > > On Friday, January 10, 2014 9:42:02 AM UTC-3, Aidy Lewis wrote: >> >> Clojurians, >> >> For some reason JAVA_OPTS are not accessible in my Clojure project.

Re: JAVA_OPTS not accessible in my Clojure project

2014-01-12 Thread aidy lewis
Hi Phil, M-x cider-jack-in, but the JAVA_OPT properties are also nil if I do a lein run. Thanks Aidy On 12 January 2014 05:25, Matching Socks wrote: > How did you start the Emacs Cider REPL? > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure"

Re: JAVA_OPTS not accessible in my Clojure project

2014-01-13 Thread aidy lewis
Hi Phill, Thanks for the heads up. I've entered this in project.clj :jvm-opts ["javax.net.ssl.keyStore"] Restarted the CIDER REPL and entered in core.clj (System/getProperty "javax.net.ssl.keyStore") I evaluated that expression and it returns nil. But, if I go to the command-line and at the r

Re: JAVA_OPTS not accessible in my Clojure project

2014-01-13 Thread aidy lewis
Hi Softaddicts Thanks for the advice, but my aim was to retrieve the JAVA_OPTS from my environment variables in order to not hard-code them. Aidy On 13 January 2014 09:46, Softaddicts wrote: > To set java properties on the cmd line you need to enter something like: > > -Djavax.net.ssl.keyStor

Re: JAVA_OPTS not accessible in my Clojure project

2014-01-13 Thread aidy lewis
The problem - if anyone is interested - is that I had not set $JAVA_OPTS in the Emacs config file. Sorry, for being a balloon. Thanks Aidy On 13 January 2014 10:34, aidy lewis wrote: > Hi Softaddicts > > Thanks for the advice, but my aim was to retrieve the JAVA_OPTS from my >