Closed gbbirkisson closed 2 years ago
The example how to use certificate is easily misunderstood. https://github.com/enonic/lib-http-client/blob/master/docs/index.adoc#using-custom-certificate
var certificates = app.config['certificates']; // Certificate stored in the application config file
This is the misunderstanding. People do not often put their certs in the configuration files, but rather point to a file where the certificate is.
We need to be more explicit what is going on in this example.
fixed in https://github.com/enonic/lib-http-client/pull/82
The example how to use certificate is easily misunderstood. https://github.com/enonic/lib-http-client/blob/master/docs/index.adoc#using-custom-certificate
This is the misunderstanding. People do not often put their certs in the configuration files, but rather point to a file where the certificate is.
We need to be more explicit what is going on in this example.