public
Created

SSL options for Leiningen

  • Download Gist
init.clj
Clojure
1 2 3 4 5 6 7 8
(defn set-ssl
[task & args]
(do
(System/setProperty "javax.net.ssl.trustStoreProvider" "Apple")
(System/setProperty "javax.net.ssl.trustStoreType" "KeychainStore")
(System/setProperty "javax.net.debug" "all")))
 
(def settings {:hooks [set-ssl]})
 Warning: problem requiring #<user$set_ssl user$set_ssl@63d87b85> hook: nth not supported on this type: user$set_ssl

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.