This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-25
Channels
- # beginners (26)
- # boot (1)
- # cider (21)
- # cljdoc (26)
- # cljs-dev (7)
- # clojure (99)
- # clojure-gamedev (6)
- # clojure-italy (5)
- # clojure-nl (4)
- # clojure-russia (1)
- # clojure-spec (5)
- # clojure-uk (59)
- # clojurescript (49)
- # clojutre (6)
- # component (13)
- # core-async (2)
- # cursive (30)
- # data-science (2)
- # datomic (29)
- # emacs (9)
- # fulcro (100)
- # hyperfiddle (1)
- # jobs (2)
- # luminus (4)
- # lumo (23)
- # off-topic (22)
- # other-languages (37)
- # parinfer (1)
- # re-frame (2)
- # reagent (5)
- # reitit (12)
- # ring (12)
- # rum (3)
- # shadow-cljs (168)
- # slack-help (1)
- # spacemacs (7)
- # specter (2)
- # tools-deps (8)
- # vim (11)
- # yada (3)
A few weeks ago I started getting errors with Cursive’s built-in lein deps
functionality and also with the repo indexing for http://repo1.maven.org and clojars. I fixed it at the command line by manually adding the Kaspersky CA cert to the cacerts
file for Java, but IntelliJ is still unhappy. Just curious if anyone else is seeing that? The error is
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I can get to http://maven.org and http://clojars.org just fine via the browser, so I don’t think it’s a proxy/firewall issue
@manutter51 Have you changed the JDK you’re using to run IntelliJ? I used to see that error a lot when running the IDE with JDK6 was still a thing.
Yeah, I upgraded to Java 1.8.0_181 and added it in as the current JDK in IntelliJ
What was weird was this just suddenly started happening out of the blue, no changes to the installed Java, to the IDE, or to any plugin.
or wait, I take that back, I think I did get a Java security update just before it happened.
What’s suspicious to me is that the cert it’s unhappy about is a Kaspersky cert, and I know there’s some politics happening around that.
but then I’d think a lot of people would be seeing similar problems
But did you change the JDK that’s used to actually run IntelliJ? If you go to About IntelliJ IDEA, there’s an option there to copy your setup - can you paste that here?
Ah, hmm, let me check…
Hmm, it won’t let me copy, but it’s saying the JRE is 1.8.0_152
IntelliJ IDEA 2018.2 (Ultimate Edition)
Build #IU-182.3684.101, built on July 24, 2018
Licensed to Mark Nutter
Subscription is active until September 25, 2018
JRE: 1.8.0_152-release-1248-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6
I figured out how the copy thing worked 🙂
Is there a way to change that?
That’s actually a fresh install of IntelliJ btw — I thought I’d give that a try just for grins
Ok — where’s the action finder?
oh there it is
looks like that’s working 😄 Thanks a ton
Huh, that’s very strange. I don’t understand why that’s happening, but I’m glad it’s working for you 🙂
It probably has something to do with the fact that I manually installed the missing cert in my system install of Java, with keytool
Oh right, I guess if you installed it in the JetBrains JRE that should make that work too.
but why the problem arose in the first place, just for me...? 🤷