Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache 使用certbot在端口号上添加SSL_Apache_Ssl_Ubuntu 18.04_Digital Ocean_Certbot - Fatal编程技术网

Apache 使用certbot在端口号上添加SSL

Apache 使用certbot在端口号上添加SSL,apache,ssl,ubuntu-18.04,digital-ocean,certbot,Apache,Ssl,Ubuntu 18.04,Digital Ocean,Certbot,我在apache服务器上使用certbot将SSL添加到我的网站。SSL添加成功,但当我尝试登录到API端时,我得到: this request has been blocked; the content must be served over HTTPS. API位于端口8000上,例如:HTTP://68.123.123:8000/API。 当我使用“https”时,我得到了404 如何连接到API或如何向其添加SSL

我在apache服务器上使用certbot将SSL添加到我的网站。SSL添加成功,但当我尝试登录到API端时,我得到:

this request has been blocked; the content must be served over HTTPS.
API位于端口8000上,例如:HTTP://68.123.123:8000/API。 当我使用“https”时,我得到了404

如何连接到API或如何向其添加SSL