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

Add support for certfp #59

Open
Tyil opened this issue Dec 15, 2018 · 4 comments
Open

Add support for certfp #59

Tyil opened this issue Dec 15, 2018 · 4 comments

Comments

@Tyil
Copy link
Contributor

Tyil commented Dec 15, 2018

I can't seem to find any pointers in documentation or source for IRC::Client to make use of certfp. I would like to see support for this in the module, as I want to make use of this for one of my bots.

@zoffixznet
Copy link
Contributor

It's possible :ssl and :ca-file options provide the means to use that service already. Looks like when they were added no documentation was created for how to actually use those options.

@Tyil
Copy link
Contributor Author

Tyil commented Dec 15, 2018

Ah, I did not think ca-file would stand for that. I had assumed it ment the certificate of the CA of the certificate provided by the server. I'll try to use :ca-file when I get home.

Thanks for the quick response :)

@Tyil
Copy link
Contributor Author

Tyil commented Dec 15, 2018

I tried to supply a certificate with :ca-file, but I'm getting the error "Certificate contains no altnames to check host against". I found this error message using the patch from #60.

@Tyil
Copy link
Contributor Author

Tyil commented Dec 16, 2018

Okay, that specific error seems to have come from a faulty certificate. It did connect to another server, but it does not show a certificate fingerprint to associate with certfp when a :ca-file is passed.

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

2 participants