Skip to content

Unable to verify the first certificate #141

@yohanntran

Description

@yohanntran

Hi everyone,

I use node-ews to send message with ExchangeWeb Service but i have a problem.
When i use my 4G i can send message (because certificate is allow by default)
But i when i want use the network of my company, i can't. I read this error (unable to verify the first certificate).

I search and i found some solution like that : process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
but it's a ungly solution. I want solve the problem properly. I have the certificate of my company in .crt.

My question : Do you have implemente a function to pass in parameter the certificate ? or do you have an other solution ?

I'm French, sorry for my french expression.
Thank to developpe this library, it's very helpfull.

Yohann

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions