https

How to generate HTTPS proxy certificate?

a 夏天 提交于 2021-01-04 09:02:57
问题 I am currently writing an HTTPS proxy using OpenSSL, but I cannot get Firefox or IE to accept my self-signed certificate as a CA. I have added the certificate to "Trusted Root Certification Authorities" in IE and "Authorities" in Firefox. I am testing on https://ssltest11.bbtest.net/ with the certificate found at Geotrust, but the same applies for other sites as far as I've seen. IE gives me the error: The security certificate presented by this website was not issued by a trusted certificate

Azure web app for container - failed during startup - didn't respond to HTTP pings

我的未来我决定 提交于 2021-01-02 05:55:15
问题 I'm running into an annoying issue where my containerized app runs fine locally, but fails when deployed to azure, despite the ports being exposed properly. The details: azure web app for container with Linux OS on a Basic B1 machine. nodejs v12 LTS with express server listening on HTTPS port 443. Includes an HTTP 404 (Not Found) error handler. database db Mongodb Atlas on M0 Sandbox (free tier). Local and Azure IPs whitelisted. docker container using Dockerfile. no Kubernetes, no yml config

How to implement HSTS in my website

天大地大妈咪最大 提交于 2021-01-01 07:06:13
问题 I've a website (domain from godaddy and hosted in hostgator). As I updated the certificates, manually, I can redirect my site to https, but it is always going to http from google search. After searching online, I got to know that Considering Strict-Transport-Security: max-age=15768000 as result of curl -i -L on target domain will work for my need as it will force a browser to open the website in https. But I'm confused about how to implement this to my website. Can anyone help me on this ?

Is username and password in HTTPS URL secure?

孤街醉人 提交于 2020-12-30 07:55:30
问题 I am sending POST request to URL https://username:password@example.com in my script. I know that HTTPS encrypts credentials so they should not be visible on network. But what about server logs, will they be visible there? Are there any other disadvantages of using this approach? How can I make authentication more secure on client/server side? 回答1: You can find more information here: Are HTTPS URLs encrypted? (tl;dr: the way you are sending it is not encrypted most probably, but you can send

Nginx Redirect HTTP to HTTPS and WWW to Non-WWW

為{幸葍}努か 提交于 2020-12-29 14:13:21
问题 I'm having issues with this config: #=========================# # domain settings # #=========================# # Catch http://domain, and http://www.domain server { listen 80; server_name www.domain domain; # Redirect to https://domain return 301 https://domain$request_uri; } # Catch https://www.domain server { listen 443; server_name www.domain; # Redirect to https://domain return 301 https://domain$request_uri; } # Catch https://domain server { listen 443; server_name domain; root /usr

Nginx Redirect HTTP to HTTPS and WWW to Non-WWW

核能气质少年 提交于 2020-12-29 14:07:26
问题 I'm having issues with this config: #=========================# # domain settings # #=========================# # Catch http://domain, and http://www.domain server { listen 80; server_name www.domain domain; # Redirect to https://domain return 301 https://domain$request_uri; } # Catch https://www.domain server { listen 443; server_name www.domain; # Redirect to https://domain return 301 https://domain$request_uri; } # Catch https://domain server { listen 443; server_name domain; root /usr

Nginx Redirect HTTP to HTTPS and WWW to Non-WWW

Deadly 提交于 2020-12-29 14:06:47
问题 I'm having issues with this config: #=========================# # domain settings # #=========================# # Catch http://domain, and http://www.domain server { listen 80; server_name www.domain domain; # Redirect to https://domain return 301 https://domain$request_uri; } # Catch https://www.domain server { listen 443; server_name www.domain; # Redirect to https://domain return 301 https://domain$request_uri; } # Catch https://domain server { listen 443; server_name domain; root /usr

Apache HttpClient 4.5: Connection Resets

删除回忆录丶 提交于 2020-12-29 06:43:51
问题 I am using httpClient version 4.5 to connect with our external vendor site. We do not need any connection pool or persistent connection, so I am using the BasicHttpClientConnectionManager to create the HttpClient. This works fine for minimal number of requests, but if I test this for 1TPS for 1 hour, by the end of the test, we start seeing intermittent connection resets. (guessing request count > 100) I/O exception (java.net.SocketException) caught when processing request to {s}->https:/

Apache HttpClient 4.5: Connection Resets

夙愿已清 提交于 2020-12-29 06:41:54
问题 I am using httpClient version 4.5 to connect with our external vendor site. We do not need any connection pool or persistent connection, so I am using the BasicHttpClientConnectionManager to create the HttpClient. This works fine for minimal number of requests, but if I test this for 1TPS for 1 hour, by the end of the test, we start seeing intermittent connection resets. (guessing request count > 100) I/O exception (java.net.SocketException) caught when processing request to {s}->https:/

Apache HttpClient 4.5: Connection Resets

拥有回忆 提交于 2020-12-29 06:41:39
问题 I am using httpClient version 4.5 to connect with our external vendor site. We do not need any connection pool or persistent connection, so I am using the BasicHttpClientConnectionManager to create the HttpClient. This works fine for minimal number of requests, but if I test this for 1TPS for 1 hour, by the end of the test, we start seeing intermittent connection resets. (guessing request count > 100) I/O exception (java.net.SocketException) caught when processing request to {s}->https:/