Server's Certificate is not trusted pop-up

I'm working on a network with one other developer that uses PHPStorm and intermittently throughout my usage of PHPStorm I get "Server's Certificate is not trusted" pop-up with an Accept/Reject button for stuff that doesn't concern me (but the other developer uses/owns).

Any way I can disable this behaviour from happening?

4 comments

Just in case it matters, I'm also running a Node.js instance using the Debugger.

0

Could you please show us a screenshot of this popup and also upload the IDE log somewhere when it pops up?

0

i too am having this problem using WEBstorm. This has just started happening since it was loaded onto a new MacBook Pro (2017) running Sierra (10.12.6). It happens on startup as well as during other times during the day. I will try to be more aware of what I am doing with WebStorm when the message is generated and will reply back if i can discern a pattern.

btw, not sure why the country of the 'issued to' certificate is listed as CZ.... is that correct?

here is the screenshot of the message, and below is a portion of the log that seems relevant.




 

2017-09-01 10:47:34,250 [ 131002] INFO - dvertisement.PluginsAdvertiser - sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1514)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:961)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:505)
at com.intellij.util.io.HttpRequests.access$300(HttpRequests.java:60)
at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:288)
at com.intellij.ide.plugins.RepositoryHelper$1.process(RepositoryHelper.java:156)
at com.intellij.ide.plugins.RepositoryHelper$1.process(RepositoryHelper.java:149)
at com.intellij.util.io.HttpRequests.lambda$doProcess$0(HttpRequests.java:414)
at com.intellij.util.net.ssl.CertificateManager.runWithUntrustedCertificateStrategy(CertificateManager.java:349)
at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:414)
at com.intellij.util.io.HttpRequests.process(HttpRequests.java:394)
at com.intellij.util.io.HttpRequests.access$100(HttpRequests.java:60)
at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:262)
at com.intellij.ide.plugins.RepositoryHelper.loadPlugins(RepositoryHelper.java:149)
at com.intellij.ide.plugins.RepositoryHelper.loadPlugins(RepositoryHelper.java:104)
at com.intellij.ide.plugins.RepositoryHelper.loadPlugins(RepositoryHelper.java:96)
at com.intellij.ide.plugins.RepositoryHelper.loadPluginsFromAllRepositories(RepositoryHelper.java:76)
at com.intellij.openapi.updateSettings.impl.pluginsAdvertisement.PluginsAdvertiser$4.run(PluginsAdvertiser.java:318)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:342)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:397)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:302)
at sun.security.validator.Validator.validate(Validator.java:260)
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:105)
at com.intellij.util.net.ssl.ConfirmingTrustManager.checkServerTrusted(ConfirmingTrustManager.java:122)
at com.intellij.util.net.ssl.ConfirmingTrustManager.checkServerTrusted(ConfirmingTrustManager.java:116)
at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:985)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1496)
... 35 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:392)
... 44 more
2017-09-01 10:47:34,493 [ 131245] WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: App.js
2017-09-01 10:47:34,493 [ 131245] WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: todo.js
2017-09-01 10:47:34,493 [ 131245] WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: Titlebar.js
2017-09-01 10:47:34,625 [ 131377] INFO - tor.impl.FileEditorManagerImpl - Project opening took 126533 ms
2017-09-01 10:48:22,181 [ 178933] INFO - net.ssl.ConfirmingTrustManager - Certificate was accepted by user
2017-09-01 10:48:22,185 [ 178937] INFO - tor.impl.FileEditorManagerImpl - Project opening took 170685 ms
2017-09-01 10:48:22,742 [ 179494] INFO - s.webpack.WebPackConfigManager - webpack config evaluation took 227 ms

 

 

 

0

Hello,

Yes, JetBrains HQ is in Prague, CZ (hence the city and the country).

Looks like your system doesn't trust the issuer. Does it come up again if you accept this certificate?

0

Please sign in to leave a comment.