Articles of https

在HTTPS连接中的Squid代理用户

我在我的Squid代理日志中看到我无法在HTTPS连接中login用户名。 你认为这是我的configuration错误,还是由于encryption是不可能的? 如果答案是第二个,这意味着HTTPS对于匿名用户来说总是免费的? 这是我的configuration: auth_param ntlm program /usr/bin/ntlm_auth –helper-protocol=squid-2.5-ntlmssp auth_param ntlm children 10 auth_param basic program /usr/bin/ntlm_auth –helper-protocol=squid-2.5-basic auth_param basic children 5 auth_param basic realm MyDomain auth_param basic credentialsttl 2 hours auth_param basic casesensitive off authenticate_cache_garbage_interval 10 seconds external_acl_type nt_group ttl=0 children=5 %LOGIN /usr/lib/squid/wbinfo_group.pl acl all src all acl manager proto cache_object acl localhost src […]

我可以使用Apache作为正向代理cachingHTTPSstream量吗?

我试图加快HTTPs网站使用Apache作为代理和caching。 我有自己的ssl证书的代理,但都显示在未caching的请求日志。 我宁愿这样做与Apache,但如果他们是别的东西,我可以使用代理caching网站,这将是伟大的。 我的apache conf的相关部分在下面显示我当前的caching尝试。 谢谢 <VirtualHost *:443> ServerName www.fakegoogle.com SSLProxyEngine On SSLProxyCheckPeerCN Off ProxyPass / https://www.google.com/ timeout=30 Keepalive=On ProxyPassReverse / https://www.google.com/ ProxyAddHeaders Off DocumentRoot /var/www/ SSLEngine on SSLCertificateFile /etc/apache2/sslCert/fakegoogle.com.crt SSLCertificateKeyFile /etc/apache2/sslCert/fakegoogle.com.key SSLCertificateChainFile /etc/apache2/sslCert/fakegoogle.com.bundle.crt <IfModule mod_disk_cache.c> ProxyRequests on CacheRoot proxyCache CacheLastModifiedFactor 0.3 CacheEnable disk / CacheIgnoreHeaders None CacheRoot "/var/cache/mod_proxy" CacheDirLevels 3 CacheDirLength 5 CacheIgnoreCacheControl On […]

如何使用Nginx将http(s)://(www。)example.comredirect到https://example.com?

正如标题所述。 我发现另一个有用的Q / A ,但它并没有显示如何在Nginx设置中正确地做到这一点,我的意思是parameters 。 他可能意味着https://exmaple.com在redirect到https://www.example.com之前应该有一个有效的握手。 在我的场景中, https:example.com效果很好,但https:example.com不能重新指向https://www.example.com 。 server { listen 80; server_name example.com www.example.com; rewrite ^ https://example.com$request_uri? permanent; } server { listen 443; server_name example.com; ssl on; # some other settings, correctly } 但是,当浏览http://example.com它被redirect到https://example.com但是它显示在chrome中 This site can't be reached example.com unexpectedly closed the connection. ERR_CONNECTION_CLOSED“` 我想redirect到https://example.com ,怎么样? – 更新 – /var/log/nginx/access.log显示 "GET […]

当在端口80请求时,nginx下载空文件(而不是redirect到端口443)

我的nginxnetworking服务器不行,他应该怎么做。 所有到服务器的http://请求都应该使用http 301redirect到https://,过去几天工作正常,直到停止工作而没有任何改变。 Nginx返回一个types为“application / octet-stream”的空文件和下面的内容(在sublime中可读): 0000 1204 0000 0000 0000 0300 0000 8000 0400 0000 0000 0500 ffff ff00 0004 0800 0000 0000 7fff 0000 0000 0807 0000 0000 0000 0000 0000 0000 01 首先,我试图删除该行 default_type application/octet-stream; 从我的nginx.conf,但它没有帮助。 http-response头返回 Status: 我从http://到https://的301redirect的服务器块如下所示 server { listen 80; listen [::]:80; server_name my.tld www.my.tld; return 301 https://$server_name$request_uri; } […]

mod_ssl:SSL握手被系统中断(系统错误如下)

在我的error_log我越来越关注味精 [错误] mod_ssl:SSL握手被系统中断[提示:在浏览器中按下停止button?!](系统错误如下) IE浏览器甚至不会加载页面,但Firefox正常工作

fsockopen https fgets冻结,可能的服务器configuration错误

我尝试通过PHP fsockopen连接到服务器,最初获取基本身份validation的cookie,然后持续连接到响应的位置标题中定义的stream服务器。 问题是我的代码在fgets上冻结,从来没有收到目标服务器的任何响应数据。 我通过Amazon EC2实例上的端口443上的https进行连接。 服务器通过在我的服务器的terminal或通过我的浏览器curl罚款。 有没有一个出站防火墙设置,我错过了EC2? 我甚至打开了服务器上的入站443端口,但当然这似乎毫无意义。 有什么想法吗?

如何在Mac OSX上获得自签名SSL证书以在本地工作?

我试图testing我的本地git存储库上的本地页面。 不幸的是,我使用OpenSSL和Mod_SSL安装的SSL证书似乎无法正常工作。 我已经在检查httpd文件和看日志。 虽然说实话,我对networking的知识以HTML / CSS和.09%的JS和PHP结束。 在这一点上,我已经超越了失落。 没有办法让本地服务器使用钥匙串证书向导来运行https吗? 我们的其他技术build议如下: 执行一个GET请求(你可以用Firebug在你的浏览器中看你的头文件,或者写一个快速的PHP cURL脚本,或者telnet到端口443手动执行请求)。 这应该告诉你,如果authentication失败,由于证书或如果虚拟主机configuration不正确的本地站点。 虽然,再一次,我的技能。 有一个更简单的方法来做到这一点。 OS是10.5.8

HTTPS子域错误地redirect到域

我们有一个运行两个站点的Web服务器,我将称它们为domain.com和test.domain.com。 我们在domain.com网站上安装了SSL证书,涵盖了www.domain.com和domain.com。 testing网站没有SSL证书。 当浏览到http:// test.domain.com时,我们可以成功地到达testing站点。 但是,导航到https:// test.domain.com时,所有stream量都会redirect到https:// domain.com,或多或less地不知道用户。 这可能会让某些人误以为他在testing现场工作,而事实上在生产过程中发生了变化。 服务器正在运行IIS 6.testing站点没有configurationSSL端口。 唯一的主机标头分别是两个站点的domain.com和test.domain.com。 如何确保https:// test.domain.com不会redirect到https:// domain.com?

IIS 6.0redirecthttp-> https以及pathredirect

什么是想要实现的: 将任何httpstream量redirect到httpsstream量 如果只input了域或根目录,则会对特定的path/url进行redirect 例: 用户input – >redirect到 http://sub.domain.com/ – > https://sub.domain.com/ mdesign / 0 / procs / index.html https://sub.domain.com/ – > https://sub.domain.com/ mdesign / 0 / procs / index.html http://sub.domain.com/ mdesign / 0 / procs / index.html – > https://sub.domain.com/ mdesign / 0 / procs / index.html 什么工作: 用户input – >redirect到 http://sub.domain.com/ – > https://sub.domain.com/ […]

不合理的缓慢的通道

我在OSX上设置stunnel来将stream量传送到我的Django dev服务器,因为Facebook现在需要HTTPS,但是我注意到这是非常慢的。 它似乎一次只能处理一个连接,甚至连接到本地主机时连接速度都很慢。 我试过在网上find一些性能提示,所以我的configuration设置为: pid= # foreground=yes cert=./cacert.pem key=./privkey.pem libwrap=no debug=0 socket = l:TCP_NODELAY=1 socket = r:TCP_NODELAY=1 [https] accept=8443 connect=8000 有没有办法获得更多的性能或更适合的方式来设置我的开发服务器的HTTPS?