ssl

Curl error “no alternative certificate..”

守給你的承諾、 提交于 2021-02-08 04:43:42
问题 We have a problem in only one of our servers hosted at Amazon (the development server). The problem happens when doing a curl request to a specific domain, by running this: > curl https://api.plivo.com Results in: curl: (51) SSL: no alternative certificate subject name matches target host name 'api.plivo.com' I did some research and found out that it might be a problem with the server's certificate, however if I try this from any other server it works fine, same on my local machine. So I'm

Keycloak from docker Letsencrypt cert and ERR_SSL_VERSION_OR_CIPHER_MISMATCH

可紊 提交于 2021-02-08 03:26:19
问题 I'm trying to run Keycloak from a Docker image available on: Docker Hub here. If I run my container using the command: docker run -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=test -v /opt/mountedcertificate:/etc/x509/https -p 8443:8443 jboss/keycloak Setting the volume according to the instruction from previously mentioned website for this image: Setting up TLS(SSL) Keycloak image allows you to specify both a private key and a certificate for serving HTTPS. In that case you need to provide two

Enable SSL certificate revocation checking in OpenJDK 11

≯℡__Kan透↙ 提交于 2021-02-08 02:37:51
问题 Is there some quick "declarative" way in Java 11, instead of a tedious manual implementation, to enable checking if a certificate is revoked? I tried to use properties from this answer: Check X509 certificate revocation status in Spring-Security before authenticating with this dummy revoked certificate: https://revoked.badssl.com but the code always accepts the certificate. Am I doing something wrong or these properties are no more actual for Java 11? If so, do we have any alternatives? Below

AngularJS SSL .htaccess woes

佐手、 提交于 2021-02-08 02:12:24
问题 I'm trying to enable the use of SSL on my .htaccess file that has already been set up for html5Mode direct linking but it's always resulting in a redirect loop. The closest question I've found on stackoverflow is this but even from here I can't figure it out (I'm new to htaccess files). AngularJS html5Mode direct linking htaccess file is RewriteEngine on RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^ index.html [L] and this works

AngularJS SSL .htaccess woes

一个人想着一个人 提交于 2021-02-08 02:05:21
问题 I'm trying to enable the use of SSL on my .htaccess file that has already been set up for html5Mode direct linking but it's always resulting in a redirect loop. The closest question I've found on stackoverflow is this but even from here I can't figure it out (I'm new to htaccess files). AngularJS html5Mode direct linking htaccess file is RewriteEngine on RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^ index.html [L] and this works

Let's Encrypt Certificate Issuance

十年热恋 提交于 2021-02-07 20:51:20
问题 I am trying to get a certificate issued from Let's Encrypt, and it has been 3 and a half hours. I accidentally originally set my secretName as "echo-tls" before switching it to the correct "pandaist-tls" that I want to use instead. I currently have this: kubectl get CertificateRequest -o wide NAME READY ISSUER STATUS AGE pandaist-tls-1926992011 False letsencrypt-prod Waiting on certificate issuance from order default/pandaist-tls-1926992011-2163900139: "pending" 3h26m When I describe the

Let's Encrypt Certificate Issuance

你。 提交于 2021-02-07 20:44:18
问题 I am trying to get a certificate issued from Let's Encrypt, and it has been 3 and a half hours. I accidentally originally set my secretName as "echo-tls" before switching it to the correct "pandaist-tls" that I want to use instead. I currently have this: kubectl get CertificateRequest -o wide NAME READY ISSUER STATUS AGE pandaist-tls-1926992011 False letsencrypt-prod Waiting on certificate issuance from order default/pandaist-tls-1926992011-2163900139: "pending" 3h26m When I describe the

Imported SSL Cert not listed for ALB Listener

人走茶凉 提交于 2021-02-07 20:01:25
问题 I have created an SSL cert via DigiCert and imported to ACM. (I require the same SSL to be applied to both ALB and the Application, and since there's no way to import ACM certs, I had to follow this way) I have successfully imported the SSL and can see it in the console. However, I cannot apply it to ALB 443 Listener. I provided the Cert ARN to the CloudFormation template and it fails stating certificate don't exist. I have tried to manually update the 443 Listener, but the cert is not listed

How to make a TLS connection using python?

点点圈 提交于 2021-02-07 19:42:07
问题 I would like to create a TLS connection to a server. Then, I want to send some encrypted data to the server. I know the hostname and port and I have the certificate. Surprisingly, I also received the private key of the server. However, I think it is not normal that I received the private key. The first question is that, do I really need the private key to make a TLS connection? By the way, I am using this python script import socket import ssl server_addr = '**.**.**.**' server_port = ****

How to make a TLS connection using python?

白昼怎懂夜的黑 提交于 2021-02-07 19:42:02
问题 I would like to create a TLS connection to a server. Then, I want to send some encrypted data to the server. I know the hostname and port and I have the certificate. Surprisingly, I also received the private key of the server. However, I think it is not normal that I received the private key. The first question is that, do I really need the private key to make a TLS connection? By the way, I am using this python script import socket import ssl server_addr = '**.**.**.**' server_port = ****