This is a migrated thread and some comments may be shown as answers.

CertMaker.StoreCert in main not being respected by fiddler

1 Answer 244 Views
Windows
This is a migrated thread and some comments may be shown as answers.
Dlavimer
Top achievements
Rank 1
Dlavimer asked on 09 Aug 2019, 09:54 PM

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

1 Answer, 1 is accepted

Sort by
0
Eric R | Senior Technical Support Engineer
Telerik team
answered on 14 Aug 2019, 01:30 PM
Hi Dlavimer,

Because the Certificate OU is http://wwwfiddler2.com, the CN is DO_NOT_TRUST_FiddlerRoot and the SAN is api.some.service.com I can tell that Fiddler is creating the certificate. Although, it is difficult to understand where Fiddler isn't respecting the certificate.

Can you provide more information about how Fiddler isn't respecting the certificate? 

Once I receive this information I can provide better troubleshooting options. Thank you and I look forward to your reply.

Regards,

Eric R | Technical Support Engineer
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Windows
Asked by
Dlavimer
Top achievements
Rank 1
Answers by
Eric R | Senior Technical Support Engineer
Telerik team
Share this question
or