1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
Hello.
I don't think SSL certificates are used to protect IP addresses because they certify domains.
Therefore, I think it is a good idea to configure the web server to redirect to "HTTPS://Domain.com" when an HTTP access occurs using an IP address.
For example, if you use Apache, if you configure the following settings, when an access using an IP address occurs, it will be redirected to the domain.
<VirtualHost *:80>
ServerName [IP Address]
RewriteRule ^/(.*) https://domain.com/$1 [R=302,L]
</VirtualHost>
I am on a Debian GNU/Linux Server and I used
sudo /opt/bitnami/bncert-tool
to set up the SSL will that work to create a redirect from a public static ip> to the domain?
From what I remember, that command set up a domain redirect from HTTP to HTTPS, but I don't think it set up a redirect from an IP address to a domain.