question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pin wildcard hostnames

See original GitHub issue

First of all thank you for breathing life back into the ModernHttpClient. I have a question regarding defining hostnames for pins.

The current implementation seems to only accept complete hostnames like: test-example.com

We have several subdomains/enviornments for our app and I would like to pin them all using a single Pin entry. For example: dev.test-example.com, prod1.test-example.com, prod2.test-example.com.

The app should be able to deal with new sub-domains without us having to add a new certificate pin and rebuild. It would be totally cool to be able to pin something like *.test-example.com.

Is this possible with your current implementation or is it planned as a future enhancement?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
alexrainmancommented, Jun 24, 2019

It will be out today.

1reaction
alexrainmancommented, Jun 19, 2019

HA, I can easily do it. Expect a new version later today.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DNS, Do A Record wildcards have priority over more- ...
The answer is generally "No" - the more specific record should win, so this should work as you described/expected. My guess is you...
Read more >
Wildcard DNS record
A wildcard DNS record is a record in a DNS zone that will match requests for non-existent domain names. A wildcard DNS record...
Read more >
Wildcard Domains in Aliases : r/PFSENSE
I have a firewall rule on our system that controls our servers access ... not seem to accept wildcard host names e.g: *.update.microsoft.com....
Read more >
windows - Wildcard subdomain on localhost using host file
I'm trying to set up sub-domains on my development machine that runs IIS 7 on Windows 7. It looks like it is possible...
Read more >
Configure a DNS service with wildcards for virtual hosting
A convenient way to do this is by using a DNS service to specify wildcard entries for physical host names (for example, by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found