简体   繁体   中英

Azure public ip https

I have Azure public IP, that points to Azure Container instances. For this I'm using load balancer: 在此处输入图像描述

this is my in-bound rule: 在此处输入图像描述

Backend pool: 在此处输入图像描述

I can navigate to http://40.68.242.95/ and see, that my website is working. How can I configure https connection for this public ip address? Ie how can I make https://40.68.242.95/ from it?

I tried to reproduce the same in my environment it works fine successfully.

you can able to configure your public Ip address to https using Azure application gateway along with self-signed certificate the only way can made changes.

Try to create a self-signed certificate using windows powershell ISE like below.

在此处输入图像描述

Create an app gateway with public Ip,and you can use your exciting public ip address also.在此处输入图像描述

In configuration tab add a routing rule apply frontend Ip as public and protocol as HTTPS with 443 port and upload a pfx certificate which created through powershell stored in C: drive like below.

![在此处输入图片描述](https://i.imgur.com/mQUOpA4.png)

Once application gateway created you can make use of public ip as https like below.在此处输入图像描述

Click on advance if you see connection is not private and proceed to support application gateway self-signed support though https.

Reference:

https://learn.microsoft.com/en-us/azure/application-gateway/redirect-http-to-https-portal

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM