标签: https

5
推荐指数
2
解决办法
145
查看次数

Ubuntu 的存档签名密钥是否可以通过 HTTPS 某处获得?

我正在编写一个程序,需要为各种发行版下载 GPG 密钥以进行无人值守的网络安装。为了以自动方式安全地执行此操作,我需要通过 HTTPS 下载密钥,这意味着“gpg --recv-keys”不是一个选项。其他发行版(例如 Fedora)通过 HTTPS(例如https://fedoraproject.org/static/E8E40FDE.txt)在其网站上提供其密钥,但我在 ubuntu.com 上的任何地方都找不到 Ubuntu 密钥文件。有谁知道我可以从哪里通过 HTTPS 获取它?

security gnupg https

5
推荐指数
2
解决办法
1518
查看次数

httrack:如何使用基于电子邮件的用户名登录复制网站

我正在尝试离线复制一个需要使用HTTrack登录的网站。不过,这个问题更笼统。按照此说明http://www.httrack.com/html/faq.html#QM6我了解我必须使用以下结构才能登录:

https://username:password@www.website.com
Run Code Online (Sandbox Code Playgroud)

对于具有 html 专业知识的人来说,我面临的问题可能非常简单。

如何将实际上是电子邮件地址的用户名放入https://username:password@链中?因为实际上,当我输入用户名时,代码会被电子邮件的“@”“剪切”,而不是考虑整个内容。

提前致谢!

(这是面向构建 bash 脚本的,因此 GUI 解决方案无法实现)

email login https

5
推荐指数
1
解决办法
1万
查看次数

每个安装的 ssl-cert-snakeoil.pem 和 ssl-cert-snakeoil.key 是唯一的吗?

我的理解是 Apache2

...默认 HTTPS 配置将使用
由 ssl-cert 包生成的证书和密钥。

这意味着每个ssl-cert安装的文件ssl-cert-snakeoil.pemssl-cert-snakeoil.key都是唯一的?生成它们的脚本在哪里?

ssl apache2 https mod-ssl

4
推荐指数
1
解决办法
4453
查看次数

如何通过 HTTPS 下载 YouTube 视频

我无法通过 HTTP 访问 YouTube。但是我可以在 HTTPS 上访问相同的内容。

当我执行命令时,wget https://www.youtube.com/watch?v=StJLvbPIvTw它返回以下响应:

--2013-03-04 13:09:28--  https://www.youtube.com/watch?v=StJLvbPIvTw
Resolving www.youtube.com (www.youtube.com)... 74.125.236.167, 74.125.236.160, 74.125.236.164, ...
Connecting to www.youtube.com (www.youtube.com)|74.125.236.167|:443... connected.
Unable to establish SSL connection.
Run Code Online (Sandbox Code Playgroud)

请指导我如何在 HTTPS 上下载 YouTube 视频。

youtube https

3
推荐指数
1
解决办法
9490
查看次数

什么意思:“git+https://github.com/....”?

git+https 类型的 url 是什么意思?我正在安装一个应用程序,建议的命令是

"pip install -e git+https://github.com......"
Run Code Online (Sandbox Code Playgroud)

有人可以解释一下这是什么意思。

git github https pip

3
推荐指数
1
解决办法
4925
查看次数

Ping 特定的网址?

我正在制作一个 bash 脚本来 ping 某个网址。问题是,当我说:
ping https://www.dictionary.com/browse/word 然后 ping 说
ping: https://www.dictionary.com/browse/word: Name or service not known
有人可以帮我吗?什么是我可以用来 ping https 服务器的程序。
我必须在那里使用斜杠,因为我想 ping 那个特定的页面。
先感谢您。

bash ping https

3
推荐指数
1
解决办法
321
查看次数

Nginx 反向代理背后的 Portainer docker 容器

我已经在 Ubuntu 22.04 服务器上设置了 nginx 反向代理,并且已成功从 Lets Encrypt 获取 ssl 证书。两个密钥存储在这里:

/etc/letsencrypt/live/test.ddns.net/fullchain.pem;
/etc/letsencrypt/live/test.ddns.net/privkey.pem
Run Code Online (Sandbox Code Playgroud)

在我的默认 nginx 配置中,我有两个路径helloworldportainer。两条路径都重定向到 docker 容器。

server {
    listen 80;
    listen [::]:80;
    server_name test.ddns.net;
    return 301 https://$host$request_uri;
}
server {
    listen 443 ssl;
    listen [::]:443 ssl;
    server_name test.ddns.net;
    ssl_certificate /etc/letsencrypt/live/test.ddns.net/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/test.ddns.net/privkey.pem;

    location /helloworld {
        proxy_pass http://localhost:32768;
    }

    location /portainer {
        proxy_pass http://localhost:9000;
    }
Run Code Online (Sandbox Code Playgroud)

helloworld 路径按预期工作,并使用 https 协议加载 html 页面(因此我的 ngnix 配置是正确的)。但portainer路径不是。我尝试了端口 9000、端口 8000、端口 9443。但都不起作用。我收到 404 错误,或者通过 http 发送的请求,而预期是 https,或者其他错误。有没有人有相同的设置并且能够帮助我?

谢谢。

server nginx https reverse-proxy letsencrypt

3
推荐指数
1
解决办法
4115
查看次数

有没有办法在 Ubuntu 中使用 Https?

我住在伊朗,BBC WORLD 等许多网站都被我们的背叛政府封锁,所以我无法访问此类网站。请指导我如何在 Ubuntu 中使用 Https。我有我的 https 帐户的地址和用户+通行证。

https

1
推荐指数
1
解决办法
139
查看次数

为什么命令 telnet 响应奇怪?

我 4 年前通过网络课程大学,我有一个可能是业余的问题,请帮助我..我在 vmware 上有 ubuntu。我使用以下命令:

telnet google.com 80
Run Code Online (Sandbox Code Playgroud)

它回应:

正在尝试 74.125.195.139... 已连接到 google.com。转义字符是“^]”。

然后我输入ls命令:它返回!

HTTP/1.0 400 Bad Request
Content-Type: text/html; charset=UTF-8
Content-Length: 1555
Date: Wed, 27 Jan 2016 12:53:29 GMT
Server: GFE/2.0

<!DOCTYPE html>
<html lang=en>
  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
  <title>Error 400 (Bad Request)!!1</title>
  <style>
    *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen …
Run Code Online (Sandbox Code Playgroud)

command-line networking telnet https

0
推荐指数
1
解决办法
916
查看次数

如何使用 ufw 阻止 HTTP 和 HTTPS?

我安装了Ubuntu 16.04 LTS,我想使用ufw拒绝HTTPHTTPS请求。

我启用了ufw并使用这些命令设置了防火墙规则 ~>

sudo ufw deny http
Run Code Online (Sandbox Code Playgroud)

 sudo ufw deny https
Run Code Online (Sandbox Code Playgroud)

但是当我在浏览器(谷歌浏览器)中打开一个网站(http/https)时,它们工作正常,我想阻止它们。

我怎样才能做到这一点 ?

ufw https

0
推荐指数
1
解决办法
5935
查看次数

ubuntu cdimage 站点是否安全?

Ubuntu 的 cdimage 站点是 http,

这里下载安全吗?

(因为它不是 https,这就是我问的原因)

security downloads cd-image https

0
推荐指数
1
解决办法
38
查看次数

certbot 是获取 https:// 证书的好方法吗?

我正在使用 Ubuntu 20.04 Server 设置云服务器。

我永远不会有很多访客,只有我的学生在做作业。

我想启用 https:// 访问。

我找到了这个页面。

certbot 是一个好方法吗?

我以前从未这样做过。

ssl apache2 certificates https letsencrypt

0
推荐指数
1
解决办法
1009
查看次数