Support for custom certificates
long76 opened this issue ยท 9 comments
Describe the bug
SSL error by self-signed certificate.
To Reproduce
Steps to reproduce the behavior:
- clone project by git shell from server with self-signed cert
- add repo to gitnuro
- press pull button
Expected behavior
pull sucessfull
Desktop (please complete the following information):
- OS: Kubuntu
- Version 20.04
maybe possible add trusted store from store - in path /etc/ssl/certs/ca-certificates.crt
Thanks for the report!๐
I'm busy for a few weeks but I'll give some feedback ASAP.
Sorry for getting back so late.
Did you use the JAR or the flatpak version?
Sorry for getting back so late.
Did you use the JAR or the flatpak version?
Jar
Can you try importing the certificate using the keytool utility? As shown here https://stackoverflow.com/a/4326346/4907735
I've used this exact command in the past with Android Studio, I hope it works here too.
Can you try importing the certificate using the keytool utility? As shown here https://stackoverflow.com/a/4326346/4907735
I've used this exact command in the past with Android Studio, I hope it works here too.
yes i know about it but maybe i can just put my certs in folder with jar and program add certs in trust store in runtime? just if i update jdk cacerts
will be overrided
best sostion on this use ca-certificates-java
package but i can't use it in portable jdk
Oke, I'll look again into it in the future as a new feature rather than a bug. I don't know much about certificates and such stuff, but it's probably feasible.
Thanks for your feedback!
For more usabilty if was ssl error GitNuro may suggest user add repo url in exclude for checking certs. And was great if will be some dialog or smth else with list excluded url for check. I see similar behavour in Megit
(too use Java) https://github.com/eclipsesource/megit
Thanks! I've added the suggestion as part of #30