https

最全LINUX+TOMCAT+APACHE+OPENSSL+SSL环境构筑

妖精的绣舞 提交于 2020-04-06 20:48:25
1 openssl安装 openssl-1.0.0d.tar.gz 进入解压缩后的文件夹 cd /usr/local/openssl-1.0.0d ./config --prefix=/usr/local/openssl make make install 2 使用openssl生成证书 进入编译后的openssl文件夹里(cd /usr/local/openssl/bin) ./openssl genrsa -des3 -out server.key 1024(密码password,自己设定) ./openssl req -new -key server.key -out server.csr(密码password) ./openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt(密码password) 导出pfx文件 客户端安装用 ./openssl pkcs12 -export -out server.pfx -inkey server.key -in server.crt(密码password) 所有生成的证书文件 均在/usr/local/openssl/bin里面 3 apache安装 将下载的apache软件(httpd-2.2.19.tar.gz)放到/usr

iOS 10.3: Simulator HTTPS localhost: SSL Error

ⅰ亾dé卋堺 提交于 2020-04-05 15:15:11
问题 This worked fine for iOS 10.2 and below, but after upgrading to 10.3, when the simulator attempts to connect over HTTPS to the development server running on localhost, the Xcode console outputs the following errors: NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802) [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9807] Printing out the error returned by the URLSessionDataTask shows: Error Domain=NSURLErrorDomain Code=-1200 "An SSL

iOS 10.3: Simulator HTTPS localhost: SSL Error

荒凉一梦 提交于 2020-04-05 15:14:07
问题 This worked fine for iOS 10.2 and below, but after upgrading to 10.3, when the simulator attempts to connect over HTTPS to the development server running on localhost, the Xcode console outputs the following errors: NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802) [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9807] Printing out the error returned by the URLSessionDataTask shows: Error Domain=NSURLErrorDomain Code=-1200 "An SSL

I have problem when deploy my laravel on herkou (Mixed Content)

佐手、 提交于 2020-03-25 13:48:41
问题 Hello … l am finish Building website using Laravel and jQuery and bootstrap it's working good in local but when I upload to Heroku the file jQuery and bootstrap not working … it's work in local using http but in Heroku its need https its not working but when write http substitute of https it's working good like local and display Not Secure .. now any body know how can i allow website using https in Heroku or How can selection this problem 回答1: You should closely read all of Heroku's guide to

I have problem when deploy my laravel on herkou (Mixed Content)

╄→гoц情女王★ 提交于 2020-03-25 13:48:07
问题 Hello … l am finish Building website using Laravel and jQuery and bootstrap it's working good in local but when I upload to Heroku the file jQuery and bootstrap not working … it's work in local using http but in Heroku its need https its not working but when write http substitute of https it's working good like local and display Not Secure .. now any body know how can i allow website using https in Heroku or How can selection this problem 回答1: You should closely read all of Heroku's guide to

How to create https endpoint in Google Cloud from http based server for Kubernetes Engine?

生来就可爱ヽ(ⅴ<●) 提交于 2020-03-24 14:18:36
问题 I have been trying to create HTTPS endpoint in Google Cloud K8s environment. I have built a flask application in Python that serves on the waitress production environment via port 5000. serve(app, host='0.0.0.0', port=5000, ipv6=False, threads=30) I created a docker file and pushed this to the google cloud repository. Then, created a Kubernetes cluster with one workload containing this image. After, I exposed this via external IP by creating LoadBalancer. (After pushing the image to the

【腾讯Bugly干货】“HTTPS”安全在哪里?

情到浓时终转凉″ 提交于 2020-03-24 08:03:09
3 月,跳不动了?>>> 背景 最近基于兴趣学学习了下 HTTPS 相关的知识,在此记录下学习心得。 在上网获取信息的过程中,我们接触最多的信息加密传输方式也莫过于 HTTPS 了。每当访问一个站点,浏览器的地址栏中出现绿色图标时,意味着该站点支持 HTTPS 信息传输方式。我们知道 HTTPS 是我们常见的 HTTP 协议与某个加密协议的混合体,也就是 HTTP+S。这个 S 可以是 TLS(安全传输层协议)、也可以是 SSL(安全套接层),不过我更认可另一个抽象概括的说法,HTTP+Security。不过要谈论 HTTPS 为何安全,还得从 HTTP 为何不安全说起。 假设你现在正坐在教室里上课,现在你非常想和走道旁的迷人的 TA 说一些话,一般这个时候你会用“传纸条”的方式来交流。而这个方式和 TCP/IP 协议基本的工作模式十分相像: 通过小动作引起对方注意; 对方以多种可能的方式(注视、肢体语言等)回应于你; 你确认对方感知到你后,将纸条传给对方; 对方阅读纸条; 对方给予你阅读后的反应; 怎么样,这个流程是不是很熟悉? 如果你要传递纸条的 TA 距离你很远怎么办?HTTP 协议就是指你在纸条上写明你要传给的 TA 是谁,或者 TA 的座位在哪,接着只需要途径的同学拿到纸条后根据纸条上的指示依次将纸条传过去就 OK 了。 这个时候问题来了

“no-referrer-when-downgrade error” Angular app on Firebase connecting to NGINX Jelastic

 ̄綄美尐妖づ 提交于 2020-03-05 06:07:03
问题 I have the following architecture: An Angular webapp hosted on Google Firebase (HTTPS) A jelastic environment with: An NGINX server (HTTPS) A Springboot 2 application server (HTTP) In order to work fine Firebase needs to use HTTPS API, so I added to the NGINX server an SSL certificate and a public IP. If I call the API using HTTP from postman the calls work fine. But if I call the API HTTPS from the Angular app in firebase than it doesn't work and I get this error: "Referrer Policy: no

“no-referrer-when-downgrade error” Angular app on Firebase connecting to NGINX Jelastic

北慕城南 提交于 2020-03-05 06:05:16
问题 I have the following architecture: An Angular webapp hosted on Google Firebase (HTTPS) A jelastic environment with: An NGINX server (HTTPS) A Springboot 2 application server (HTTP) In order to work fine Firebase needs to use HTTPS API, so I added to the NGINX server an SSL certificate and a public IP. If I call the API using HTTP from postman the calls work fine. But if I call the API HTTPS from the Angular app in firebase than it doesn't work and I get this error: "Referrer Policy: no

Self signed certificate only works with localhost, not 127.0.0.1

感情迁移 提交于 2020-03-05 06:04:06
问题 I'm trying to generate a self-signed certificate such that my local development environment uses HTTPS, but I'm having some trouble. The reason for this is that I want to test push notifications on my phone through my local network (through my local IP 192.168.1.155 ) and notifications only work via a secure context. It only seems to work when I go to localhost:8080 , and is still insecure when navigating to 127.0.0.1:8080 . When I navigate to 127.0.0.1:8080 Chrome's Security Page says: This