ssl

SSL申请证书申请相关

痴心易碎 提交于 2020-12-20 06:32:39
## 生成一个key openssl genrsa -des3 -out server.key 2048 ## 生成csr openssl req -new -key server.key -out server.csr 同时需要将csr文件提交给相关服务商。 另外,在启用证书时, 出现以下情况时 #Enter PEM pass phrase: ##用以下方法处理 mv server.key server.key.backup openssl rsa -in server.key.backup -out server.key 附:要是自己颁发,就这样玩咯 /etc/pki/tls/misc/CA -newca openssl genrsa -des3 -out server.key 2048 openssl req -new -key server.key -out server.csr mv server.csr newreq.pem /etc/pki/tls/misc/CA -sign mv newcert.pem server.crt openssl genrsa -des3 -out client.key 2048 openssl req -new -key client.key -out client.csr openssl ca -in client.csr -out

During an SSL SOAP request: SSLHandshake.consume ignores value of com.sun.jndi.ldap.object.disableendpointidentification

百般思念 提交于 2020-12-15 05:55:05
问题 Clarification A: Since this is an SSL question, I hope I can lower the obvious security red flags and potentially save the time of our resident SSL security experts, by stating the following: This SSL communication is between a test machine and a product deployment that is not ready for final security work (ie: after initial testing is complete, a security team will fix all the certificates, ports, settings, etc...) At this point, both test client and test target machines are far less

Failed to send email from 1and1 (ionos) hosting server using ASP .Net Core and Mailkit

二次信任 提交于 2020-12-15 05:23:31
问题 I have created a simple email service in my .Net Core application, which sends mail messages using provider email. It works just fine on my local machine with port 587. But when I published it to my 1and1 hosting server, it failed to send the email. Here is my little code, how I create client using the Mailkit : using(var client = new SmtpClient()) { client.ServerCertificateValidationCallback = (sender, certificate, certChainType, errors) => true; client.CheckCertificateRevocation = false;

Set up Ubuntu Apache2 SSL using .pem and .key from Cloudflare

二次信任 提交于 2020-12-15 04:57:57
问题 I am using Cloudflare to set up a secure connection on Ubuntu 20 using Apache2. I used their Origin Server wizard to generate the following files: example.com.pem (Origin Certificate) example.com.key file (Private key) I gave them the extensions suggested by Cloudflare. I ran this: sudo a2enmod ssl sudo systemctl restart apache2 This is my setup: <VirtualHost *:443> .... SSLEngine on SSLCertificateFile /path/example.com.pem SSLCertificateKeyFile /path/example.com.key The non-secure site works

Set up Ubuntu Apache2 SSL using .pem and .key from Cloudflare

▼魔方 西西 提交于 2020-12-15 04:57:05
问题 I am using Cloudflare to set up a secure connection on Ubuntu 20 using Apache2. I used their Origin Server wizard to generate the following files: example.com.pem (Origin Certificate) example.com.key file (Private key) I gave them the extensions suggested by Cloudflare. I ran this: sudo a2enmod ssl sudo systemctl restart apache2 This is my setup: <VirtualHost *:443> .... SSLEngine on SSLCertificateFile /path/example.com.pem SSLCertificateKeyFile /path/example.com.key The non-secure site works

gke cert manager certificate in progress

佐手、 提交于 2020-12-13 07:54:11
问题 Im trying to make my google services more secure by moving from http to https. I've been follwing the cert-manager documentation to get it working. https://cert-manager.io/docs/configuration/acme/dns01/google/ I can't install helm on the cluster nor nginx ingress that's why im using the dns01 challenge instead of the http01. I installed cert-manager with regular manifests v0.11.0. After creating a dns admin service account, i used this yaml to create the issuer : apiVersion: cert-manager.io

botocore.exceptions.SSLError: SSL validation failed on WIndows

▼魔方 西西 提交于 2020-12-13 04:23:59
问题 The below code is for getting the regions. import boto3 ec2 = boto3.client('ec2', 'region-name') print(ec2.describe_regions()) On executing this code on my machine, I'm getting this error. botocore.exceptions.SSLError: SSL validation failed for https://ec2.region-name.amazonaws.com/ [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108) I am running this code on Windows 10 machine with VS code as my editor. I looked for other answers

botocore.exceptions.SSLError: SSL validation failed on WIndows

吃可爱长大的小学妹 提交于 2020-12-13 04:23:06
问题 The below code is for getting the regions. import boto3 ec2 = boto3.client('ec2', 'region-name') print(ec2.describe_regions()) On executing this code on my machine, I'm getting this error. botocore.exceptions.SSLError: SSL validation failed for https://ec2.region-name.amazonaws.com/ [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108) I am running this code on Windows 10 machine with VS code as my editor. I looked for other answers

'wrong version number (OpenSSL::SSL::SSLError)' in simple Ruby SSL client

一世执手 提交于 2020-12-12 10:24:06
问题 I am writing a simple SSL client for pentester lab bootcamp module 4. I enabled SSL for the virtualhost and enabled the module. The SSL client is written in Ruby and when running the script I get the following error: Traceback (most recent call last): 6: from 4-http_ssl.rb:8:in <main> 5: from /usr/lib/ruby/2.5.0/net/http.rb:1458:in request 4: from /usr/lib/ruby/2.5.0/net/http.rb:909:in start 3: from /usr/lib/ruby/2.5.0/net/http.rb:920:in do_start 2: from /usr/lib/ruby/2.5.0/net/http.rb:985:in

javax.net.ssl.SSLHandshakeException: No available authentication scheme

荒凉一梦 提交于 2020-12-12 06:32:01
问题 A google reveals a bug in jdk11.0.2 but I upgraded to jdk11.0.3 and this still exists for me. Steps to reproduce git clone https://github.com/deanhiller/webpieces.git add the line "org.gradle.java.home=/Library/Java/JavaVirtualMachines/jdk-11.0.3.jdk/Contents/Home" to ~/.gradle/gradle.properties to set jdk to 11.0.3 run ./gradlew :core:core-asyncserver:test from webpieces directory The test case hangs and in the logs, it shows Caused by: javax.net.ssl.SSLHandshakeException: No available