大网数据广告活动
网站运营与故障问答

Setting up Let's Encrypt with CloudFlare and dynamic IP

· 52CE 我爱测

My setup is as follows: Dedicated server (Linux) with dynamic IP address NO-IP domain name domain name When I want to access my system (server), I access my domain, which redirects me to my NO-IP domain which, in turn, redirects …

问题原文

原帖链接 · CorellianAle · CC BY-SA 4.0

My setup is as follows:

  • Dedicated server (Linux) with dynamic IP address
  • NO-IP domain name
  • domain name
  • When I want to access my system (server), I access my domain, which redirects me to my NO-IP domain which, in turn, redirects to a current IP address of the server.

I'd like to add encryption and DDOS protection to my system so I thought about setting up an SSL certificate and introducing CloudFlare services.

It is easy to setup CloudFlare, but I am really not sure if it's possible to setup up SSL via Let's Encrypt with the scheme I've created. I became lost in various types of SSL certificates (what exactly do I need?) considering several redirection that would occur.

The way I understood it is if I introduce SSL certificate from CloudFlare, I would only encrypt traffic from a user to CloudFlare but not from CloudFlare to the server. Am I right?

If I am going to get Let's Encrypt certificate, I would need to install it on my server, but how do I get one if there are several redirects involved and I have a dynamic IP address? How would it work with CloudFlare?

已采纳解答

原帖链接 · Jules · CC BY-SA 4.0

You can create a self-signed certificate on the server, and use that with CF's Full, but not Full (strict) SSL setting. I don't know if you'd have to create a new self-signed certificate each time the IP changes though.

https://blog.cloudflare.com/origin-server-connection-security-with-universal-ssl/

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2018-09-04)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。