I've added the following line to static `function Main()` :
CertMaker.StoreCert("api.some.service.com", "C:\\Bla.pfx", "Secret");
But when I try to do a get I still get a cert with the following info:
Server certificate:
* subject: OU=Created by http://www.fiddler2.com; O=DO_NOT_TRUST; CN=*.some.service.com
* start date: Aug 8 14:29:55 2018 GMT
* expire date: Nov 6 14:29:55 2021 GMT
* subjectAltName: host "api.some.service.com" matched cert's "*.some.service.com"
* issuer: OU=Created by http://www.fiddler2.com; O=DO_NOT_TRUST; CN=DO_NOT_TRUST_FiddlerRoot
The way I tested it was by performing the following call :
sudo curl -x "my.fqdn:9999" --http1.1 --cacert ./FiddlerRoot.pem -v -sSi https://api.some.service.com/SomeFunc