locked
How to retreive site names using IP address RRS feed

  • Question

  • Hello,

    I have an IIS server using SNI hosting multiple sites using different certificates.  The server is using one IP address. Is there a programmatically solution to get the sites names using the IP as the only input?

    Sunday, January 15, 2017 6:41 PM

Answers

  • I think this may be what you are looking for:

    http://www.sherweb.com/blog/host-different-ssls-on-one-ip-with-iis-8-sni/

    https://blogs.msdn.microsoft.com/kaushal/2012/09/04/server-name-indication-sni-with-iis-8-windows-server-2012/


    Miguel Fra
    Falcon IT Services
    https://www.falconitservices.com

     

    Sunday, January 15, 2017 9:04 PM

All replies

  • I think this may be what you are looking for:

    http://www.sherweb.com/blog/host-different-ssls-on-one-ip-with-iis-8-sni/

    https://blogs.msdn.microsoft.com/kaushal/2012/09/04/server-name-indication-sni-with-iis-8-windows-server-2012/


    Miguel Fra
    Falcon IT Services
    https://www.falconitservices.com

     

    Sunday, January 15, 2017 9:04 PM
  • Although, the thread is answered, I would add that no, there are no programmatic way. This is because certificate may not match only one name. For example, if server uses wildcard certificate (*.company.com), there is an infinity match, because any name under company.com domain would match certificate name.

    Vadims Podāns, aka PowerShell CryptoGuy
    My weblog: www.sysadmins.lv
    PowerShell PKI Module: PSPKI
    Check out new: SSL Certificate Verifier
    Check out new: PowerShell File Checksum Integrity Verifier tool.

    Tuesday, January 17, 2017 3:06 PM