Articles of https

httpsredirect到https(无证书警告)

我认为为了将https URLredirect到另一个https URL而没有证书警告,第一个https URL必须拥有自己的有效证书和IP地址? 我试图设置http和https从一堆域redirect到一个安全的URL。

如何仅在VirualHost的一个目录中设置https

我有几个站点和应用程序的VPS,我想通过HTTPS运行MySQLpipe理工具,以避免中间人攻击的可能性,因为我经常使用MySQL的root密码。 现在,如果我专门为此目的设置了域名,那完全不是问题,因为build立SSL虚拟主机没有问题。 我的任务是仅使默认虚拟主机https-forced的一个(子)文件夹。 假设我有/var/www与vhosts文件夹和下面的一切。 如果我inputhttp:// {ip -adress-of-vps},我得到的文件作为默认主机/var/www索引。 我想在/var/www ( /var/www/phpmyadmin )下面创buildphpmyadmin dir,只有在调用http://{ip-adress-of-vps}/phpmyadmin时才能通过https访问它。 那可能吗? 怎么做? 如果不可能的话,你最好的做法是什么? 提前致谢。

使用SSL的服务器上的HTTPS和HTTP问题

我有一个网站www.example.com ,我购买了SSL证书并安装。 而且它工作正常,我也有一个不在SSL上的app.example.com的子域名。 www.example.com和app.example.com都在相同的IP地址上。 后来我们决定把SSL只放在app.example.com上,然后我用app.example.comconfigurationSSL,它工作的很好, 现在的问题是Google将我的网站编入为https://www.example.com/ ,当用户点击网页时,会发出无效的安全警告,当用户允许安全问题时,会显示我的app.example.com内容。 注意:我在/etc/httpd/conf.d/ssl.conf中有我的SSLconfiguration文件 下面是ssl.conf的内容。 注:我尝试在.httaccess的解决scheme,但没有一个工作。 像redirect301redirect等 http://pastebin.com/GCWhpQJq

我在哪里可以findtomcat 6 web服务器的SSLconfiguration?

我已经inheritance了一个小型的安全Web应用程序,运行在运行Amazon Linux的机器上的单个Tomcat 6 Web服务器上。 我需要禁用SSLv3后备,但我只是找不到HTTPSconfiguration的位置(例如path到pem文件等) /usr/share/tomcat6/conf/server.xml和/etc/tomcat6/server.xml (两者都是相同的)中的configuration文件具有以下内容(看起来像默认)setup: <Service name="Catalina"> <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> <Engine name="Catalina" defaultHost="localhost"> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/> <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Context path="" docBase="/var/www/" debug="1" reloadable="true" override="true" allowLinking="true" /> <Valve className="org.apache.catalina.valves.RemoteIpValve" protocolHeader="X-Forwarded-Proto" /> </Host> </Engine> </Service> 我的理解是,在这里应该有额外的configurationSSL证书的细节等。还有其他地方这东西可以configuration? 如果不是,为什么服务器成功处理HTTPS请求?

如何更改HTTPS请求的响应,或强制从HTTPSredirect到HTTP?

我为一个ISP工作。 我们实现了一个系统,如果用户账户里的钱用完了,他的浏览器将只显示一个特定的HTML页面。 从页面订阅者可以find,无论出于何种原因,他从互联网断开。 如果浏览器向HTTP请求,那么这不是问题。 但是,如果请求是由HTTPS完成的,那么不清楚如何replace这个页面,因为当用他的证书configurationNginx时,浏览器会提供证书错误,而且我们的网页不会显示。 redirect到HTTP也失败,因为浏览器尚未build立安全连接。 我怎么解决这个问题?

HTTPS透明代理和SSL证书validation

如果我使用由本地CA签署的SSL证书为https连接设置透明代理,并通过GPO将其分发给所有活动目录客户端,那么客户端(浏览器)是否可以拒绝或build议用户有关证书问题?

无法停止www。 从redirect到HTTPS://

我的SSL证书最近过期了,我一直在试图暂时禁用SSL,直到我可以重新获得它的东西继续redirect的子域WWW。 到HTTPS:// 这不是.htaccess文件,httpd.conf是使用VirtualHost为不安全连接build立的: <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /var/www/example.com/public_html ServerName www.example.com ServerAlias example.com ErrorLog /var/www/example.com/error.log CustomLog /var/www/example.com/access.log common <Directory "/var/www/example.com"> AllowOverride All </Directory> </VirtualHost> example.com工作正常,但是如果我访问www.example.com它redirect到HTTPS:// 还有什么呢?

如何使Apache的mod_rewrite默认通过HTTPSredirect?

假设我有一个通过HTTPS提供的网站,例如https://example.com/foo 。 考虑下面的.htaccess : RewriteBase / RewriteEngine On RewriteRule ^foo$ bar [R=301,L] 现在,当我访问https://example.com/foo ,它会通过HTTP而不是HTTPSredirect到http://example.com/bar 。 我怎样才能使它转到HTTPS而不是使用R标志的每个RewriteRule使用完整的scheme+主机? 也就是说,这会做我以后的事情: RewriteBase / RewriteEngine On RewriteRule ^foo$ https://example.com/bar [R=301,L] 但是,我的.htaccess文件包含许多这样的RewriteRule ,感觉应该有一种方式告诉Apache / mod_rewrite“重写为https://默认情况下”。 我真正想要的是告诉Apache网站使用的是HTTPS,类似于通过ServerName foo.ext声明主机名的ServerName foo.ext 。 那可能吗? 我猜这是堆栈溢出类似的问题: 如何说服Apache的原始客户端协议

Apache 2.2的mod_rewriteredirect一些url到https和强制他人的http

我在共享主机上有我的页面。 一般来说,该网站可以使用http和https访问。 该页面投放广告,而且大部分广告都不能使用https,因此我只希望通过https访问pipe理部分。 我想要的是: http://myurl.com/auth -> https://myurl.com/auth http://myurl.com/admin -> https://myurl.com/admin https://myurl.com/allotherstuff -> http://myurl.com/allotherstuf 基本上所有的授权和承认请求都应该被redirect到使用ssl。 其他站点的请求应该从httpsredirect到http(如果使用https请求页面)。 我尝试了下面的.htaccess文件,这使得“auth”和“admin”无法访问(太多的redirect)。 <IfModule mod_rewrite.c> RewriteEngine On #Redirect other sites to http RewriteCond %{HTTPS} =on RewriteCond %{REQUEST_URI} !^/?auth.*$ RewriteCond %{REQUEST_URI} !^/?admin.*$ RewriteRule ^/?(.*) http://%{SERVER_NAME}/$1 [R,L] #Redirect auth and admin to https RewriteCond %{HTTPS} !=on RewriteRule ^/?auth/(.*) https://%{SERVER_NAME}/auth/$1 [R,L] RewriteCond %{HTTPS} !=on RewriteRule […]

Apache TLS(SSL)性能

我们正在运行一个function非常强大的专用服务器,其中包括运行Centos 6的Xeon CPU,32GB RAM和RAID SSD。但是,我们仍然看到HTTPS在我们的页面下载时间内添加了超过100毫秒的时间。 有什么我们可以做甚至加速20ms? 这里是Apache的设置: SSLHonorCipherOrder on SSLRandomSeed startup file:/dev/urandom 512 SSLRandomSeed connect file:/dev/urandom 512 SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-EC$ SSLProxyCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECD$ SSLProtocol all -SSLv3 -SSLv2 SSLProxyProtocol all -SSLv3 -SSLv2 SSLPassPhraseDialog builtin SSLSessionCache "shmcb:/var/run/ssl_scache(5120000)" SSLSessionCacheTimeout 300 SSLUseStapling On SSLStaplingCache "shmcb:/var/run/ssl_stapling(128000)" SSLStaplingReturnResponderErrors off SSLStaplingStandardCacheTimeout 3600 SSLStaplingErrorCacheTimeout 600 SSLStaplingResponderTimeout 5