从外部网络访问的服务器的自签名证书
好吧,我不确定如何正确执行此操作。 因此,我有一个应用程序需要拥有证书并信任连接客户以工作的证书。该应用程序将生成一个自我签名的证书,该证书具有有关我的IP和主机名的信息。
我的客户端位于我所在地区以外的另一个网络中,它通过Southbound Firewall的IP和一个映射的端口连接到我的服务器。
当它连接到我的服务器时,它可能不喜欢我的主机名还不知道,因为它给了我此消息。
这是简化的拓扑:
我的问题是,我如何为我的申请颁发有效的证书这个外部客户?我可以添加SYS1解决我的IP的本地主机文件吗? 我必须在外部网络中使用DNS服务器并在那里添加条目吗?不确定他们是否运行DNS服务器。 我的服务器将严格用于安全离线使用,所描述的客户端将是唯一的客户端。
Allright, I'm not sure how to do this properly.
So, I have an application that needs to have a certificate and trust the certificates of connecting clients in order to work. The application will generate a self-signed certificate which has information about my IP and hostname.
My client is in another network outside of my area, and it connects to my server via the Southbound Firewall's IP and a mapped port.
When it connects to my server, it probably doesn't like that my hostname isn't known, because it gives me this message.
Here is the simplified topology:
My question is, how can I make a valid certificate for my application for this external client? Could I add to it's local Hosts file that sys1 resolves to my IP?
Must I use a DNS server in the external network and add an entry there? Not sure if they have a DNS server running.
My server will be strictly for secure offline use and the client described will be the only client.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果让客户端上的hosts文件将名称
sys1
指向171.22.150.1
,并且证书的主题具有cn = sys1
或主题替代名称dns name = sys1
它应该起作用。If you let a hosts file on the client to point the name
sys1
to171.22.150.1
and the certificate has a subject withCN=sys1
or subject alternative nameDNS Name=sys1
it should work.