dneves / gitlab-integration-plugin

Intellij Plugin for GitLab Integration
MIT License
37 stars 14 forks source link

`ignoreCertificateErrors` ineffective #10

Closed kbtz closed 9 years ago

kbtz commented 9 years ago

Even with ignoreCertificateErrors enabled, certificate installed and java security settings reduced I keep getting this error:

13:33:30 Error: javax.net.ssl.SSLHandshakeException: You can disable certificate checking by setting ignoreCertificateErrors on GitlabHTTPRequestor. SSL Error: java.security.cert.CertificateException: No name matching mydomain.com found

There's an similar issue in another project that might help us.

Please let me know if you need further details.

kbtz commented 9 years ago

I just haven't generated my certificate properly. But this still an issue I guess...

chrissnyder2337 commented 9 years ago

I am experiencing the same issue.

tanabarr commented 9 years ago

@cvsguimaraes I'm afraid I'm struggling to find where to put/how to generate the certificate to resolve this issue, any hints?

chrissnyder2337 commented 9 years ago

Shouldn't ignoreCertificateErrors ignore any issue with certificates. And should't that include the issue where the identity is not provided because the gitlab installation does not have a signed ssl certificate?

Can this issue be reopend?

chrissnyder2337 commented 9 years ago

Even though I have ignoreCertificateErrors checked, I still get the following error:

javax.net.ssl.SSLHandshakeException: You can disable certificate checking by setting ignoreCertificateErrors on GitlabHTTPRequestor. SSL Error: java.security.cert.CertificateException: No name matching gitlab.utdev.com found
tanabarr commented 9 years ago

It should however it looks like the functionality is already in Tools>>tasks and context anyway. Hence the reduced effort on this plug-in. Thanks @dneves for pointing this out

kbtz commented 9 years ago

@whIzz2000 To reproduce this, I've generated a self-signed certificate with a misspelled domain.

tanabarr commented 9 years ago

I could not get around the certificate error and am now using the built-in features of the IDE for issue management and version control instead.

Thanks for the reply

From: Carlos Guimaraes [mailto:notifications@github.com] Sent: 04 February 2015 18:40 To: dneves/gitlab-integration-plugin Cc: Tom Nabarro Subject: Re: [gitlab-integration-plugin] ignoreCertificateErrors ineffective (#10)

@whIzz2000 https://github.com/whIzz2000 To reproduce this, I've generated a self-signed certificate misspelled domain.

— Reply to this email directly or view it on GitHub https://github.com/dneves/gitlab-integration-plugin/issues/10#issuecomment-72912127 . https://github.com/notifications/beacon/ADIDUItxxX7UtXHPodmsyUPRqxDQjDX-ks5nol7-gaJpZM4DLR3d.gif