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

Cannot read property 'getPeerCertificate' of undefined #33

Open
tomdov opened this issue Oct 3, 2020 · 3 comments
Open

Cannot read property 'getPeerCertificate' of undefined #33

tomdov opened this issue Oct 3, 2020 · 3 comments

Comments

@tomdov
Copy link

tomdov commented Oct 3, 2020

Hello,
using the example from docs:

sslCertificate.get('nodejs.org', 5000, 443, 'https:').then(function (certificate) {
    console.log(certificate)
});

resulted with the subject's error. this issue relies somewhere in the interface with 'https' package:
res.socket.getPeerCertificate();

@dionisiusadjinugroho
Copy link

same here

@amrwahdan3
Copy link

same

1 similar comment
@ThibautWa
Copy link

same

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

4 participants