ssl

How do you disable HTTPS in ASP.NET Core project with Identity?

那年仲夏 提交于 2020-12-06 04:01:06
问题 I have recently created an ASP.NET Core 3.0 web application project in Visual Studio 2019 (with Docker enabled, but I don't think that's relevant), and don't seem to be able to disable HTTPS when including ASP.NET Identity for individual user accounts. Whenever I launch the app in the debugger the page opens using HTTPS and navigating to HTTP redirects me back again. I've tried creating a new project to test out what is going on, and have found the following: When creating the project I

Kafka SSL handshake failed issue

蓝咒 提交于 2020-12-05 07:08:42
问题 I am trying to enable SSL Authentication on my Kafka server. I am following 7.2 section in below documentation(link). http://kafka.apache.org/documentation.html#security_ssl Followed all steps, but while calling the producer.bat file to send data in to the topic i get below error. ERROR [Producer clientId=console-producer] Connection to node -1 failed authentication due to: SSL handshake failed (org.apache.kafka.clients.NetworkClient) Caused by: java.security.cert.CertificateException: No

Enabling SSL on localhost IIS

只谈情不闲聊 提交于 2020-11-30 12:57:26
问题 I run localhost on my Windows 8.1 (Bootcamp on Mac) and need to enable ssl. I have already default server certificates on 127.0.0.1 and localhost. I have the localhost one assigned to my websites on port 443. https still returns security error so I need to work on http My websites run on 44300 port (eg. localhost:44300) I tried to bind the certificate to 44300, still it didn't work. How to make my locahost to work with https? Thanks EDIT The certificate is issued by localhost and is within

Enabling SSL on localhost IIS

安稳与你 提交于 2020-11-30 12:56:26
问题 I run localhost on my Windows 8.1 (Bootcamp on Mac) and need to enable ssl. I have already default server certificates on 127.0.0.1 and localhost. I have the localhost one assigned to my websites on port 443. https still returns security error so I need to work on http My websites run on 44300 port (eg. localhost:44300) I tried to bind the certificate to 44300, still it didn't work. How to make my locahost to work with https? Thanks EDIT The certificate is issued by localhost and is within

Java 11 and 12 SSL sockets fail on a handshake_failure error with TLSv1.3 enabled

家住魔仙堡 提交于 2020-11-30 12:25:31
问题 While developing a SSL-based (non HTTP) server in Java 12, I met unexpected difficulties for having the server and the client talk together. The connection was always interrupted with a handshake_failure error. After lots of efforts (initially I was incriminating my certificates), I was able to isolate the issue thanks to a HelloWorld SSL client/server pair at the socket level: the handshake failure was caused by the presence of TLSv1.3 among the protocols enabled by default in the JDK. So

Java 11 and 12 SSL sockets fail on a handshake_failure error with TLSv1.3 enabled

吃可爱长大的小学妹 提交于 2020-11-30 12:23:08
问题 While developing a SSL-based (non HTTP) server in Java 12, I met unexpected difficulties for having the server and the client talk together. The connection was always interrupted with a handshake_failure error. After lots of efforts (initially I was incriminating my certificates), I was able to isolate the issue thanks to a HelloWorld SSL client/server pair at the socket level: the handshake failure was caused by the presence of TLSv1.3 among the protocols enabled by default in the JDK. So

Java 11 and 12 SSL sockets fail on a handshake_failure error with TLSv1.3 enabled

自作多情 提交于 2020-11-30 12:20:13
问题 While developing a SSL-based (non HTTP) server in Java 12, I met unexpected difficulties for having the server and the client talk together. The connection was always interrupted with a handshake_failure error. After lots of efforts (initially I was incriminating my certificates), I was able to isolate the issue thanks to a HelloWorld SSL client/server pair at the socket level: the handshake failure was caused by the presence of TLSv1.3 among the protocols enabled by default in the JDK. So

SSL Certificate missing from dropdown in SQL Server Configuration Manager

*爱你&永不变心* 提交于 2020-11-30 04:58:23
问题 I am trying to configure SQL Server 2014 so that I can connect to it remotely using SSL. A valid, wildcard cert is installed on the server, and the cert's domain name (example.com) matches the server's FQDN (test.windows-server-test.example.com). The problem is that in SQL Server Configuration Manager, the certificate is not listed, so I cannot select it. That is, I am stuck on step 2.e.2 from this MS tutorial. 回答1: After communication in comments I can suppose that your main problem is the

Difference between DTLS and TLS

房东的猫 提交于 2020-11-30 04:17:25
问题 What is the functional difference between TLS and DTLS? How does application flow/negotiation differ while using TLS vs DTLS? 回答1: Basically DTLS is to construct TLS over datagram (UDP, DCCP, etc.) DTLS is similar to TLS intentionally except that DTLS has to solve two problems: packet lost and reordering. DTLS implements packet retransmission assigning sequence number within the handshake replay detection. See RFC 6347 for details. 回答2: The idea is that DTLS is to TLS as UDP is to TCP, as

Generate CRT & KEY ssl files from Let's Encrypt from scratch

家住魔仙堡 提交于 2020-11-30 02:51:47
问题 I'd like to generate a CRT/KEY couple SSL files with Let's Encrypt (with manual challenge). I'm trying something like this : certbot certonly --manual -d mydomain.com But I only get these files in my /etc/letsencrypt/live/mydomain.com folder : cert.pem chain.pem fullchain.pem privkey.pem Did I missed something? 回答1: I'm the author of Greenlock, a certbot-compatible Let's Encrypt v2 client, so I've had to learn the ins and outs of all these things as well. Hopefully this helps: KEY privkey.pem