大网数据广告活动
服务器运维问答

SSL invalid on Lightsail Bitnami Wordpress Multisites after new instance made from snapshot

· 52CE 我爱测

We'll likely need to upgrade a Lightsail Bitnami WordPress Multisite instance in the future, so I'm testing doing it. After I take a snapshot and then create a new, lager instance from it, then switch the static IP over to it, th…

问题原文

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

We'll likely need to upgrade a Lightsail Bitnami WordPress Multisite instance in the future, so I'm testing doing it.

After I take a snapshot and then create a new, lager instance from it, then switch the static IP over to it, then the sites fail to load due to:

Your connection is not private
Attackers might be trying to steal your information from (etc..)
NET::ERR_CERT_AUTHORITY_INVALID
Subject: www.example.com
Issuer: www.example.com
Expires on: 7 Nov 2030
Current date: 18 Nov 2020
PEM encoded chain:
-----BEGIN CERTIFICATE-----
(cert details etc...)

Note the www.example.com and expiry date in 2030.

Do the SSL certificates (made with The Bitnami HTTPS Configuration Tool) only work on the original instance, even if the new instance are an exact copy? I'm guessing they do.

Is the only solution to create new certificates on the new instance using the same Bitnami tool?

Thanks

已采纳解答

原帖链接 · Jota Martos · CC BY-SA 4.0

Bitnami Engineer here

Do the SSL certificates (made with The Bitnami HTTPS Configuration Tool) only work on the original instance, even if the new instance are an exact copy? I'm guessing they do.

Yes, the SSL configuration is also copied to the new instance as you created a snapshot from the first instance. You can confirm this by checking the SSL certificates Apache is using

sudo cat /opt/bitnami/apache2/conf/bitnami/bitnami.conf | grep SSLCertificate

Note: If you created a custom virtual host, you will need to use that file instead of the bitnami.conf file For example sudo cat /opt/bitnami/apps/wordpress/conf/httpd-vhosts.conf | grep SSLCertificate

Those certificates must be the ones the Bitnami HTTPS configuration tool generated and they should exist in the instance

sudo ls -la /path/to/the/certificate

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

资料来源与适用范围

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

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

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