Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL certificates #26

Open
andreaneri opened this issue May 14, 2020 · 6 comments
Open

SSL certificates #26

andreaneri opened this issue May 14, 2020 · 6 comments

Comments

@andreaneri
Copy link

Hello,
i switch on the option "InsecureSkipVerify",

where i should locate the needed certificates?
thanks

Andrea

@Joffcom
Copy link

Joffcom commented May 14, 2020

If you enable the option to ignore you won’t need to point it to a certificate it will just work.

@andreaneri
Copy link
Author

sorry, i mean the opposite, i don't want to ignore

@Joffcom
Copy link

Joffcom commented May 15, 2020

Have you tried setting ClientCertificate using tls.LoadX509KeyPair()?

@andreaneri
Copy link
Author

i just need to trust my private CA, i dont have key to generare a cert, is it possibile ?

@jtblin
Copy link
Owner

jtblin commented May 15, 2020

On Mac, you need to add the Root Certificate to macOS Keychain.

@andreaneri
Copy link
Author

@jtblin thanks for your reply, i added our private CA in my macOS Keychain but yet doesnt work, could you suggest some debug? thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants