How to create a self-signed certificate for a domain name for development?

后端 未结 7 387
隐瞒了意图╮
隐瞒了意图╮ 2020-11-29 14:49

I have subdomain.example.com that I use for development purposes. My web application solution contains a web API etc, that I need to call from external systems,

相关标签:
7条回答
  • 2020-11-29 15:20

    Another option is to create a self-signed certificate that allows you to specify the domain name per website. This means you can use it across many domain names.

    In IIS Manager

    1. Click machine name node
    2. Open Server Certificates
    3. In Actions panel, choose 'Create Self-Signed Certificate'
    4. In 'Specify a friendly name...' name it *Dev (select 'Personal' from type list)
    5. Save

    Now, on your website in IIS...

    1. Manage the bindings
    2. Create a new binding for Https
    3. Choose your self-signed certificate from the list
    4. Once selected, the domain name box will become enabled and you'll be able to input your domain name.

    0 讨论(0)
提交回复
热议问题