I'm testing my NodeJS application with supertest. My application is asking for a certificate, with the CN of the certificate my user gets authorized against the application.
While testing my first route, I got an error complaining about my self signed certificate.
I wonder if there is a way to set a valid or invalid certificate while testing my routes?