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

Loading self signed certs #262

Closed
dblooman opened this issue Dec 4, 2014 · 1 comment
Closed

Loading self signed certs #262

dblooman opened this issue Dec 4, 2014 · 1 comment

Comments

@dblooman
Copy link

dblooman commented Dec 4, 2014

I want to use a self signed cert.pem file with node-irc, what do i need to pass to secure in order for this to work. Most of the examples of loading certs in node are using a key and a cert, can you use a single combined pem file with node-irc?

@jirwin
Copy link
Collaborator

jirwin commented Jan 10, 2015

Node requires that the key and cert be provided separately as part of the tls API. node-irc passed the object that is defined as opt.secure to the tls connect function.

Good luck!

@jirwin jirwin closed this as completed Jan 10, 2015
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