简体   繁体   English

移动Magento后出现SSL错误“ ssl_error_bad_cert_domain”

[英]SSL error “ssl_error_bad_cert_domain” after moving Magento

I changed my Magento directory today. 我今天更改了我的Magento目录。 I ran these commands through phpMyAdmin before transfering files: 在传输文件之前,我通过phpMyAdmin运行了以下命令:

UPDATE core_config_data SET value = 'http://www.yourdomain.com/'
WHERE path = 'web/unsecure/base_url';

UPDATE core_config_data SET value = 'https://www.yourdomain.com/'
WHERE path = 'web/secure/base_url';

After that I cleared cache and session folders under var, everything seemed to work OK, but I'm getting error when trying to checkout 之后,我清除了var下的缓存和会话文件夹,一切似乎都正常,但是尝试结帐时出现错误

(Error code: ssl_error_bad_cert_domain) (错误代码:ssl_error_bad_cert_domain)

How can I fix that? 我该如何解决?

Okay, I got it figured out. 好吧,我明白了。 The certificate was for "mysite.com", but in Magento under System - Configurations - Web - Secure I had put " https://www.mysite.com/ " so after I changed it to " https://mysite.com/ " it works fine. 该证书用于“ mysite.com”,但是在Magento的“系统-配置-网络-安全”下,我已经输入了“ https://www.mysite.com/ ”,因此在将其更改为“ https://mysite.com ”之后/ “效果很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM