From my google cloud function, I try to request another api which requires a dummy certificate in test environment. So my server is the client here. Is there a way to send the client certificate in google cloud functions? I've managed to make it work in Postman by uploading the certificate in the certificates tab in settings but in google cloud functions I get
Bad Certificate
If it's not possible, how could I proceed? Would changing to Amazon solve the problem, or using GAE? Or is it possible to inline the certificate in an environment variable? Should I change from Axios then to make it possible to read? I've tried that solution but get the error:
routines:PEM_read_bio:no start line at Object.createSecureContext