我已在 Windows Server 2008 R2 上配置 IIS 以不允许使用 TLS 1.0。我通过设置这些 reg 键并重新启动来完成此操作:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server\DisabledByDefault set to 1 (as a DWORD)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server\Enabled set to 0 (as a DWORD)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Client\DisabledByDefault set to 1 (as a DWORD)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Client\Enabled set to 0 (as a DWORD)
Run Code Online (Sandbox Code Playgroud)
在客户端,我使用 FireFox 48.0 和 IE 9 进行测试。(我无法使用更高版本的 IE,因为网络管理员已锁定设置)。这就是我配置 IE 以强制使用 TLS 1.0 的方式:
这是我配置 FireFox 以强制使用 TLS 1.0 的方式:
我正在使用 WireShark 来确认正在使用的协议。这是我在浏览器中强制使用 TLS 1.0 时的样子:

我还使用了下面建议的 OpenSSL 命令来确认仍在使用 TLS 1.0:
openssl s_client -tls1 -connect mysite.com:443
Run Code Online (Sandbox Code Playgroud)
如果我在浏览器中强制使用 …
所以,我正在尝试让 Nginx 通过 https 为我的网站提供服务,但它不断出现拒绝连接错误。
所以这里是输出:
curl https://juristnet.ro(这是网站)
curl: (7) Failed to connect to juristnet.ro port 443: Connection refused
Run Code Online (Sandbox Code Playgroud)netstat -anltp
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN -
tcp 0 0 46.101.111.197:80 66.249.64.215:60905 TIME_WAIT -
tcp 0 0 46.101.111.197:80 66.249.64.211:57434 ESTABLISHED -
tcp 0 0 46.101.111.197:22 82.208.159.43:26902 ESTABLISHED -
tcp 0 …Run Code Online (Sandbox Code Playgroud)我正在尝试设置一个自签名 SSL 证书,以便我可以使用 SSL 开发我的应用程序(这样我最终可以让我的网站使用 SSL 运行......)。我创建了一个带有无头 API (Lumen) 的 Angular 站点,并尝试使用 ServerFault 中的一个问题来设置多域 SSL 证书:
测试命令已检出,因此我尝试使用以下 Apache 配置安装证书:
<VirtualHost *:80>
ServerAdmin contact@gamersplane.com
ServerName api.gamersplane.local
DocumentRoot /var/www/GamersPlane.api/public
<Directory /var/www/GamersPlane.api/public/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog "|/usr/bin/cronolog /var/log/gamersplane/%Y/%m/%d/error.log"
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel notice
CustomLog ${APACHE_LOG_DIR}/gamersplane/access.log combined
SSLEngine on
SSLCertificateFile /var/www/GamersPlane.api/ssl/gamersplane.local.pem
SSLCertificateKeyFile /var/www/GamersPlane.api/ssl/gamersplane.local.key
</VirtualHost>
Run Code Online (Sandbox Code Playgroud)
不幸的是,当我点击我的网站时,我得到This site can’t provide a secure connection. 我尝试为此使用谷歌搜索,但一切似乎都特定于某些站点/配置,我无法弄清楚如何调试出了什么问题。
我通过 Digital Ocean …
我正在使用 Redhat 7.3/Apache 2.2.29/Openssl 1.0.1e-fips
我必须修复 Apache 中的一个漏洞(SSL/TLS 服务器支持 TLSv1.0)。我试图在我的 httpd.conf 文件中添加行“SSLProtocol All -SSLv2 -SSLv3 -TLSv1”并重新启动 httpd。但它抛出以下错误。
错误:SSLProtocol:非法协议'"TLSv1.1"'
任何人都可以在这方面帮助我吗?
问候,
阿尼什
我正在尝试在我的网站上设置 HTTPS/SSL test.example.com。
我编辑了我的文件,/etc/nginx/sites-enabled/my_site以便server {}块的顶部是这个。
server {
listen 443;
ssl on;
ssl_certificate /etc/ssl/cert_chain.crt;
ssl_certificate_key /etc/ssl/example.key;
server_name test.example.com;
error_log /var/log/nginx/debug.log debug;
... Rest of code ...
}
Run Code Online (Sandbox Code Playgroud)
我跑了nginx restart。但是如果我https://test.testexample.com在 Chromium 中访问,我的浏览器会警告我与该站点的连接不安全。
铬错误:
Your connection is not private
Attackers might be trying to steal your information from test.example.com (for example, passwords, messages, or credit cards). Learn more
NET::ERR_CERT_COMMON_NAME_INVALID
This server could not prove that it is test.example.com; its security certificate is from example.com. …Run Code Online (Sandbox Code Playgroud) 我是一家提供 EPOS 系统并为人们创建电子商务网站的小公司的学徒。我的两个经理离开了,我负责所有与网络相关的事情(包括托管网站的服务器),你可以想象这是一个很大的压力。
现在的问题:
我们所有网站所在的服务器是运行 iis 8.5 的 Windows 2012 R2 服务器。我们有几个带有 SSL 证书的网站,所有绑定都使用 SNI,我猜这是需要的,因为它们都在相同的 IP 地址和端口上。
使用这些已经有一段时间了(或者我认为是),但我刚刚收到通知,其中一个网站的插件无法正常工作,因为该网站启用了 SNI。
我与之交谈的人解释说,该插件仅在为此站点禁用 SNI 时才有效,但是,当我为 https 绑定禁用 SNI 时,其他具有 SSL 证书的网站都无法工作。所有其他证书都开始链接到没有 SNI 的网站。
所以我的问题是:
我可以做些什么来让网站在没有启用 SNI 的情况下工作?
感谢你给与我的帮助。
我有一个证书,CN=*.some.domain然后有备用名称DNS:*.sub1.some.domain,DNS:*.sub2.some.domain(还有 2 个这样的)。
我向 kubernetes 中的 nginx-ingress 提供了证书,该证书提供host.some.domain. 它给了我错误:
controller.go:1041] unexpected error validating SSL certificate default/tls-cert for host dwarf30.epiqa.certicon.cz. Reason: x509: certificate is valid for *.sub1.some.domain, *.sub2.some.domain, not host.some.domain
Run Code Online (Sandbox Code Playgroud)
该消息明显没有提及通用名称,它只列出了替代名称。
是我误解了 CN 和 Alternates 如何交互,还是 nginx-ingress 控制器中的问题(注意:helm 坚持安装相当旧的容器版本 0.13.0)?
我一直在尝试在 Google Cloud 上测试 Kubernetes,但需要在部署的应用程序上公开 HTTPS/TLS(仅)。首先,我只是按照本教程进行操作,该教程适用于端口 80 上的普通 HTTP:https : //cloud.google.com/kubernetes-engine/docs/quickstart
为了使用Let's Encrypt获得 TLS 支持,我尝试过(但没有成功):
... 有没有人对如何为原始教程只提供 HTTPS 有任何建议?除非它是免费赠品,否则不需要普通的 HTTP,但我真的在这个问题上摸不着头脑,因为我之前没有使用过 Kubernetes,而且我根本无法让 Let's Encrypt 在这里工作。
ssl google-cloud-platform google-kubernetes-engine lets-encrypt go
感谢大家对我的帮助 :),我正在处理一个直接批量邮件发件人项目,我的程序运行正常然后它给了我一个错误然后我花了太多时间从我调试的文章中进行大量搜索(非常低水平)在过去 2 天(我睡着了)。问题是由“str(email)”电子邮件代表发件人列表(用于批量处理不同帐户)而导致的问题,它应该是一个列表而不是 str :/,这需要太多时间,但在这次旅程中我学到了很多很酷的事情 :) 很快:不要害怕犯小错误
我可以与外部 openssl 连接,但无法使用 telnet(在 mail.example.com:587 上)
openssl s_client -starttls smtp -connect mail.example.com:587
在我在被外部主机关闭的 smtp 连接中执行 starttls 之后
邮件日志
Dec 6 15:45:45 example postfix/submission/smtpd[5149]: connect from unknown[********]
Dec 6 15:45:57 example postfix/submission/smtpd[5149]: SSL_accept error from unknown[********]: -1
Dec 6 15:45:57 example postfix/submission/smtpd[5149]: warning: TLS **library problem: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:252:**
Dec 6 15:45:57 example postfix/submission/smtpd[5149]: lost connection after STARTTLS from unknown[*******]
Dec 6 15:45:57 example postfix/submission/smtpd[5149]: disconnect from unknown[*********] ehlo=1 starttls=0/1 commands=1/2
Run Code Online (Sandbox Code Playgroud)
后置 …
我正在与一个团队成员一起将证书导入 Java 密钥库,我注意到我们的中间证书具有“.L1K”符号,然后正要导入到我们的 Java 应用程序的密钥库中,发现在同一个密钥库中有另一个“entrustl1k”证书。所以我想知道这意味着什么。
我在 Entrust 的网站上找到了一些信息:https : //www.entrustdatacard.com/pages/root-certificates-download 这可能表明它是“非扩展验证证书”:Entrust 证书颁发机构?L1K(非?EV SSL)'
然而,就在该行下方,还有另一个带有“L1M”符号的“非 EV SSL”证书下载链接。“委托证书颁发机构?L1M(EV SSL)”
ssl ×10
nginx ×3
apache-2.2 ×2
iis ×2
lets-encrypt ×2
apache-2.4 ×1
dovecot ×1
email-server ×1
firewall ×1
go ×1
gunicorn ×1
https ×1
keystore ×1
kubernetes ×1
postfix ×1
smtp ×1
tls ×1
website ×1
windows ×1