This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-16
Channels
- # announcements (2)
- # architecture (3)
- # beginners (72)
- # cider (15)
- # cljs-dev (27)
- # clojure (85)
- # clojure-berlin (3)
- # clojure-dev (4)
- # clojure-europe (7)
- # clojure-italy (7)
- # clojure-nl (6)
- # clojure-uk (17)
- # clojurescript (63)
- # clojutre (10)
- # core-async (10)
- # cursive (10)
- # datomic (34)
- # events (4)
- # fulcro (3)
- # funcool (8)
- # incanter (1)
- # jackdaw (1)
- # jobs-discuss (6)
- # joker (4)
- # kaocha (7)
- # leiningen (8)
- # nrepl (6)
- # off-topic (11)
- # reagent (8)
- # shadow-cljs (119)
- # spacemacs (11)
- # sql (11)
- # vim (30)
- # yada (2)
Our internal Nexus repository is secured with a self-signed certificate. Does anyone know if there's a way to specify a truststore to use when pulling deps with lein? I'm trying to get around a 'unable to find valid certification path to requested target' error when running lein deps
.
Can you add it to the installed Java trust store?
Can’t remember if that’s a thing or not
Lein also has support for this directly:
;; If you configure a custom repository with a self-signed SSL
;; certificate, you will need to add it here. Paths should either
;; be on Leiningen's classpath or relative to the project root.
:certificates ["blueant.pem"]
from the sample.project.clj file
that's what Maven would tell you to do
If it was me, I’d prefer to add it to the Java trust store, this is a more durable method IMO