一元网络论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 108|回复: 0

How do you solve the HTTPS remote access issue?

[复制链接]

2万

主题

2万

帖子

6万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
62781
发表于 2024-8-18 20:50:35 | 显示全部楼层 |阅读模式
Today I spent quite some time on IPv6, but it's still pretty cool to directly access the internet with it. The problem is that my home broadband can't bind to domain names, so even if I use IPv6 and port forwarding, the domain name gets blocked when I try to access them through IPv6.
So I decided to just use an IPv6 address for all my access points, and forget about binding domain names altogether. However, since IPv6 doesn't have certificates, remote access always prompts me to use insecure methods like TLS/SSL, which makes me crazy. So I signed my own certificate, imported it into my local CA, and used it as the certificate for https services. But after trying for a while, it didn't work because I had to specify the domain name in the certificate too, which caused issues. I tried using wildcard characters (*) as a way to bypass this issue, but it didn't work either, and the browser still said "untrusted". After searching for information, I found out that only *.xxx.com is trusted by most browsers, not whole domains or IP addresses. Then I tried using IPv6 as the certificate domain, and the browser finally accepted it. However, IPv6 is dynamic, so I can't renew it every time the IP changes, which is really annoying.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|一元网络论坛

GMT+8, 2024-10-2 14:30 , Processed in 0.109160 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表