我已经configurationnginx 1.4.1使用自签名证书使用tls / ssl。 我只能使用LAN IP地址通过https进行连接。 我也可以连接到server_name ,但只能通过http,它只显示“Welcome to nginx!” 页。 任何关于如何使用server_name获得https的想法? ( nginx.conf只是默认的。) $ cat /etc/nginx/sites-available/example.conf server { listen 443 ssl; server_name example.com; root /srv/web; ssl_certificate /srv/server.crt; ssl_certificate_key /srv/server.key; ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers RC4:HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; location / { proxy_set_header X-Forward-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_redirect off; proxy_pass […]
我无法弄清楚为什么我无法连接到我的VPS。 httpd.conf:我补充说: 听80 听443 NameVirtualHost *:80 NameVirtualHost *:443 <VirtualHost *:80> SSLE引擎closures ServerAdmin [email protected] DocumentRoot somepath ServerName somedomain 错误日志 CustomLog一些常见的东西 </虚拟主机> <VirtualHost *:443> ServerAdmin [email protected] DocumentRoot somepath ServerName somedomain 错误日志 CustomLog一些常见的东西 SSLEngine上 SSLProtocol -all + SSLv2 SSLCipherSuite SSLv2:+ HIGH:+ MEDIUM:+ LOW:+ EXP SSLCertificateFile的东西 SSLCertificateKeyFile的东西 SSLCertificateChainFile的东西 SSLCertificateChainFile的东西 </虚拟主机> mod_ssl已安装 似乎没有语法错误: / usr / sbin / httpd -t […]
这个问题是相关的如何让Jettyredirect到HTTPS和Jetty 9 – redirectHTTP HTTPS,但没有在任何位置应答。 基本上,我们运行我们的应用程序在一些端口,说8085.我们一般使用HTTP来访问这个应用程序。 我们已经升级到现在需要HTTPS。 我们希望用户通过HTTP访问8085的用户通过HTTPSredirect到8085。 即http://host:8085 -> https://host:8085 我知道正常的过程是在不同的端口上运行HTTP和HTTPS,但是我们不打算运行HTTP。 这是我们的一些configuration,它不工作atm。 尝试尽可能的一切后,我无法让服务器响应http://host:8085 。 这是由于只有一个连接器(HTTP或HTTPS)能够一次侦听端口吗? 有没有其他方法可以做到这一点? 谢谢。 <Configure class="org.eclipse.jetty.webapp.WebAppContext"> <Get name="sessionHandler"> <Get name="sessionManager"> <Set name="usingCookies" type="boolean">true</Set> </Get> </Get> <Set name="securityHandler"> <New class="org.eclipse.jetty.security.ConstraintSecurityHandler"> <Call name="addConstraintMapping"> <Arg> <New class="org.eclipse.jetty.security.ConstraintMapping"> <Set name="pathSpec">/*</Set> <Set name="constraint"> <New class="org.eclipse.jetty.util.security.Constraint"> <!– 2 means CONFIDENTIAL. 1 means INTEGRITY –> <Set name="dataConstraint">2</Set> </New> […]
我试图在IIS(Windows Server 2008 R2和Windows Server 2012)中尽可能安全地设置HTTPS。 为了减轻攻击,如BEAST和RC4的弱点,尽可能使用ECDHE,我发现: http : //forums.iis.net/post/2056602.aspx 所以,我只是想知道在企业系统中使用IIS直接用于HTTPS是否安全? 或者使用别的东西作为SSL代理更好?
我已经购买了一个comodo SSL证书,并已将由我的服务器生成的证书签名请求(CSR)提交给SSLpipe理站点。 With the 3 files it returned me with, – AddTrustExternalCARoot.crt – PositiveSSLCA2.crt – www_example_com.crt 我已经把它们上传到我的/ etc / ssl / ssl-certs文件夹,并且已经在我的网站上更新了我的虚拟主机 – 可用并相应地重新启动。 NameVirtualHost 107.167.120.195:80 #sample ip address NameVirtualHost 107.167.120.195:443 #sample ip address ……… #normal http virtual host (working well) <VirtualHost 107.167.120.195:443> ServerAdmin [email protected] ServerName example.com ServerAlias www.example.com DocumentRoot /var/www/example SSLEngine on SSLCertificateFile /etc/ssl/ssl-certs/www_example_com.crt […]
我试图在我们新的公司服务器上build立一个SVN仓库。 我们使用nginx的SSL终止和Apache作为SVN的后端。 我不知道什么是我的configuration错误,但如果我打电话给svn info https://svn.example.com/repo我得到: Redirecting to URL 'https://svn.example.com/repo': Redirecting to URL 'https://svn.example.com/repo': svn: E195019: Redirect cycle detected for URL 'https://svn.example.com/repo' 如果我使用wireshark从nginx前端嗅探未encryption的stream量到我们的apache后端,我可以看到“/ repo”的“Options”请求,然后是301 Moved Permanentlyredirect到http://svn.example.com/repo/ 。 但svn客户端显然只看到一个redirect到https://svn.example.com/repo (尾随斜线由nginx剥离),它只是为了得到这个redirect 我想我的错误是一些简单的configuration指令,我忘了设置或类似的东西,但经过超过3个小时的search,没有find任何有用的东西,我感到有点无奈。 我的nginxconfiguration: server { ssl on; ssl_certificate ssl/svn.example.com.crt; ssl_certificate_key ssl/svn.example.com.key; listen 1.2.3.4:443 ssl spdy; allow all; server_name svn.example.com; location / { set $fixed_destination $http_destination; if ( $http_destination […]
我想启用AES 256 GCMencryption,而不是AES 256 CBC。 我们已经拥有基于ECDSA的ECC证书,以满足先决条件。 证书具有SHA-256签名,并使用256位ECC密钥集。 我想使用的密码组: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384_P384 这是我们的密码组合顺序: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384_P384, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384_P521, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384_P384, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384_P521, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P256, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256 但是当我检查网站时,我们使用TLS 1.2和ECDHE_ECDSA进行密钥交换AES_256_CBCencryption和SHA1消息摘要。 我怀疑它使用这个套件有一些原因: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P256 当我删除密码套件时,该网站的密码套件不匹配,不会再加载https。 有谁知道如何启用密码套件? 我是否忘记在registry中设置某些内容,或者是否需要执行其他操作来启用该特定套件? 提前致谢!
我的nginxconfiguration很好,直到我添加一个强制HTTPS的redirect。 redirect之前的工作configuration是: server { listen 80; listen 443 default_server ssl; server_name my-domain.com www.my-domain.com; client_max_body_size 5M; location / { proxy_pass http://localhost:3000; } } 我在服务器的端口3000上运行一个应用程序,我想在端口80和端口443(http和https)的域中提供它。 不过,我也希望在用户尝试通过HTTP访问时将用户redirect到HTTPS。 我用这个答案来设置: server { listen 80; server_name my-domain.com www.my-domain.com; client_max_body_size 5M; return 301 https://$server_name$request_uri; } server { listen 443 default_server ssl; server_name my-domain.com www.my-domain.com; client_max_body_size 5M; location / { proxy_pass http://localhost:3000; } […]
我正在寻求帮助获取HTTPS在我的AWS EBS wepapp上工作。 我已将证书加载到AWS,但仍无法通过HTTPS连接到我的网站。 我的应用程序使用Spring 4.1和Spring安全性3.2。 我的应用程序中的所有非HTTPS内容都正常工作。 MY AWS EBS环境使用运行Tomcat 8 Java 8的64位Amazon Linux 2014.09 v1.0.0。 我遵循漫长的过程从StartSSL获得签名证书。 我通过IAM 成功将我签名的证书,密钥和链上传到AWS。 在AWS的EBS环境中,我启用了HTTPS,将端口设置为443,并select了我新上传的证书。 重新部署与新的设置。 现在,当我尝试通过https连接超时 – 在日志中没有任何明显的… 我在AWS上很绿,所以我可以忽略一些东西。 我的直觉是指向负载平衡器中没有正确configuration的东西。 负载均衡器显示 Port Configuration Port 80 (HTTP) forwarding to 80 (HTTP) Stickiness: Disabled(Edit) port 443 (HTTPS, Certificate: mycert) forwarding to 80 (HTTP) Stickiness: Disabled(Edit) 我的头上也有好几个密码选项。 帮帮我!
厨师服务器(RHEL 6.5):11.16.4 Windows端点:Windows 2008 bootstrapping可以正常工作(使用winrm config allowUnEncrypeted = true和basic auth = true )。 现在我们通过https尝试同样的事情(但是basic auth = false和AllowUnEncrypted = false ) 生成自签名证书(使用私钥),并通过端口443validation了telnet。 要检查连接性,我已经从我的terminal(Windows 7)运行以下命令, winrs -r:https://<fqdn Of windows EP>:443 -u:administrator -p:password_1 ipconfig 在受信任的根证书颁发机构下添加自签名证书后,它可以正常工作。 从厨师服务器引导时出错: [root@v-ng25-rhel6u5-tpm722 ~]# knife bootstrap windows winrm v-ngibm71tpm7222k8.example.co.in -x Administrator -P 'password_1' -p 443 Waiting for remote response before bootstrap.at depth 0 – […]