ssl-certificate

Create Certificate Signing Request inside an Android app

流过昼夜 提交于 2020-07-08 11:55:05
问题 I'm generating a SSL KeyPair in an Android app using the KeyStore API. I want to create a Certificate Signing Request (CSR) from the Public/Private key pair so that it can be sent to an external CA for signing. Is this possible? I'd like to use the builtin Android libraries rather than BouncyCastle if possible, in order have Android store the keys securely. 回答1: Certificate enrollment process Check this link. It generate key pair and CSR. Regarding generating a CSR (certificate sign request)

How to allow HTTPS connections from both localhost and container towards an ASP.NET Core Web API application?

霸气de小男生 提交于 2020-07-05 12:35:31
问题 I am trying to use Docker for an existing application and I have the following issue. When the API is trying to get the Identity Server metadata from the container, it fails with the following: web_api | System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://host.docker.internal:5500/.well-known/openid-configuration'. web_api | ---> System.IO.IOException: IDX20804: Unable to retrieve document from: 'https://host.docker.internal:5500/.well-known/openid

How to allow HTTPS connections from both localhost and container towards an ASP.NET Core Web API application?

感情迁移 提交于 2020-07-05 12:35:02
问题 I am trying to use Docker for an existing application and I have the following issue. When the API is trying to get the Identity Server metadata from the container, it fails with the following: web_api | System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://host.docker.internal:5500/.well-known/openid-configuration'. web_api | ---> System.IO.IOException: IDX20804: Unable to retrieve document from: 'https://host.docker.internal:5500/.well-known/openid

Python 3 urllib ignore SSL certificate verification

丶灬走出姿态 提交于 2020-07-04 20:54:43
问题 I have a server setup for testing, with a self-signed certificate, and want to be able to test towards it. How do you ignore SSL verification in the Python 3 version of urlopen ? All information I found regarding this is regarding urllib2 or Python 2 in general. urllib in python 3 has changed from urllib2 : Python 2, urllib2 : urllib2.urlopen(url[, data[, timeout[, cafile[, capath[, cadefault[, context]]]]]) https://docs.python.org/2/library/urllib2.html#urllib2.urlopen Python 3 : urllib

Python 3 urllib ignore SSL certificate verification

試著忘記壹切 提交于 2020-07-04 20:53:18
问题 I have a server setup for testing, with a self-signed certificate, and want to be able to test towards it. How do you ignore SSL verification in the Python 3 version of urlopen ? All information I found regarding this is regarding urllib2 or Python 2 in general. urllib in python 3 has changed from urllib2 : Python 2, urllib2 : urllib2.urlopen(url[, data[, timeout[, cafile[, capath[, cadefault[, context]]]]]) https://docs.python.org/2/library/urllib2.html#urllib2.urlopen Python 3 : urllib

Python 3 urllib ignore SSL certificate verification

 ̄綄美尐妖づ 提交于 2020-07-04 20:52:06
问题 I have a server setup for testing, with a self-signed certificate, and want to be able to test towards it. How do you ignore SSL verification in the Python 3 version of urlopen ? All information I found regarding this is regarding urllib2 or Python 2 in general. urllib in python 3 has changed from urllib2 : Python 2, urllib2 : urllib2.urlopen(url[, data[, timeout[, cafile[, capath[, cadefault[, context]]]]]) https://docs.python.org/2/library/urllib2.html#urllib2.urlopen Python 3 : urllib

How to renew Letsecncrypt certificates with the same public key

谁说胖子不能爱 提交于 2020-06-29 05:21:39
问题 To use Traefik 1.7 on APIs for serving mobile apps that require the use of certificate pinning on the public key, it's necessary to configure the acme section on the toml file to reuse the same private/public key pair when renewing the certificates, but I don't find anywhere in the docs how I can do it. So I am looking for the same behavior that I believe the --reuse-key in certbot gives: --reuse-key When renewing, use the same private key as the existing certificate. (default: False) NOTE: I

Why does SSL connection fails when using intermediate CA?

女生的网名这么多〃 提交于 2020-06-29 04:25:07
问题 Given stackoverflow.com cert chain as follows: Builtin DST Root CA -> Let's encrypt intermediate CA -> *.stackexchange.com Is it possible to make a TLS connection using intermediate CA as trusted CA? curl https://stackoverflow.com -v --cacert stack_intermediate_ca.pem --capath /dev/null -o /dev/null curl: (60) SSL certificate problem: unable to get issuer certificate Is it because the intermediate CA is presented in the server chain during TLS handshake? Or do all certs in chain have to be

SSL Socket Connection working even though client is not sending certificate?

余生颓废 提交于 2020-06-27 17:50:29
问题 I am very new to Cryptography using Java. I have to build a program that exchanges certificate before any data communication takes place. I am using sslSockets to build basic client-server program and I am not using HTTP/S, this is just to get extra security. (Would like to know difference between Socket and SSLSocket.. does it mean everything is automatically encrypted?) Here's my UPDATED Server Code: public class SSLServerExample { final static String pathToStores = "C:/Users/XXX/Desktop

Let's Encrypt certificate not trusted on Firefox

生来就可爱ヽ(ⅴ<●) 提交于 2020-06-27 10:10:11
问题 I just added the certificate in IIS 8 (Windows Server 2012) using letsencrypt-win-simple.V1.9.1 . There are no problems in Google Chrome but in Firefox the connection is not trusted. I followed this tutorial : https://weblog.west-wind.com/posts/2016/feb/22/using-lets-encrypt-with-iis-on-windows#TheEasyWay:LetsEncrypt-Win-Simple . 回答1: Upon cursory examination, it would appear that you have a valid SSL certificate installed and configured. However, more thorough analysis courtesy of the