self-signed

How to create a working trusted and or self-signed certificate for a Windows 10 UWP application via Visual Studio 2019, 2017 and 2015

蓝咒 提交于 2019-12-17 22:35:36
问题 Per this documentation: https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/makecert The following command describes creating a windows cer-file (i.e. a certificate from a trusted provider.) The issue with this is that when building an application in visual studio 2017 it only allows, via the package.windows10.appxmanifest, a pfx file. when updating the this command line reference it doesn't produce a pvk file so one needs to add MakeCert -r -pe -ss PrivateCertStore -n "CN

How to create self-signed certificate programmatically for WCF service?

筅森魡賤 提交于 2019-12-17 19:27:56
问题 I have a self-hosted WCF server running as a Windows service under the Local System account. I am trying to create a self-signed certificate programmatically in c# for use with a net.tcp endpoint using Message level security. I am using the following code which is very closely based on the accepted answer in How to create a self-signed certificate using C#? with some small changes trying to solve my problem. public static X509Certificate2 CreateSelfSignedCertificate(string subjectName,

add or create 'Subject Alternative Name' field to self-signed certificate using makecert

倖福魔咒の 提交于 2019-12-17 18:43:06
问题 How can I create a certificate using makecert with a 'Subject Alternative Name' field ? You can add some fields eg, 'Enhanced Key Usage' with the -eku option and I've tried the -san option but makecert doesn't like it. This is a self-signed certificate so any method that uses IIS to create something to send off to a CA won't be appropriate. 回答1: Makecert doesn't appear to support SANs so I created a certificate with SANs for use with IIS using OpenSSL. Check out my post about it. http:/

PHP - Swiftmailer using STARTTLS and self signed certificates

拟墨画扇 提交于 2019-12-17 18:23:58
问题 I'm trying to send an email with php and swiftmailer, using STARTTLS, but I'm getting a certificate error. I have root access to the SMTP server, and the certificate used is self-signed. I'm using Debian on both machines (web server and smtp server) PHP message: PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in [..]/lib/classes/Swift/Transport/StreamBuffer

PHP - Swiftmailer using STARTTLS and self signed certificates

*爱你&永不变心* 提交于 2019-12-17 18:21:04
问题 I'm trying to send an email with php and swiftmailer, using STARTTLS, but I'm getting a certificate error. I have root access to the SMTP server, and the certificate used is self-signed. I'm using Debian on both machines (web server and smtp server) PHP message: PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in [..]/lib/classes/Swift/Transport/StreamBuffer

How to disable SSL certificate checking with Spring RestTemplate?

主宰稳场 提交于 2019-12-17 08:17:13
问题 I am trying to write an integration test where our test launches an embedded HTTPS server using Simple. I created a self-signed certificate using keytool and am able to access the server using a browser (specifically Chrome, and I do get a warning about the self-signed certificate). However, when I try to connect using Spring RestTemplate, I get a ResourceAccessException: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://localhost:8088":sun.security

unsigned APK can not be installed

你离开我真会死。 提交于 2019-12-17 05:45:51
问题 I am trying to distribute my application to some people for testing. I have installed it on my Desire directly from eclipse and it works fine. To create an APK-file, I choose "Export Unsigned Application Package" directly from eclipse, and then an APK file was created. I emailed it to myself and downloaded the file to the SD-card. But when I try to install it (using ES File Browser), I get a message saying "Application not installed" . (I have already checked the "Allow installation of non

UNABLE_TO_VERIFY_LEAF_SIGNATURE while using http-proxy in Node

耗尽温柔 提交于 2019-12-13 21:47:31
问题 All, I am trying to create a simple proxy which forwards all requests verbatum to another server. To do this I'm using the "http-proxy" npm. I am trying to go from local to a cloud server. At first when I setup the http-proxy I saw an error "unable to verify the first certificate". After some research online I found it's probably related to the fact that I have a self-signed certificate. Because it's self-signed it's not in the certificate store and so can't be validated. But, beacause I don

how to set up SSL for Apache for a Mac so I can test Cross Domain iFrame on IE8

可紊 提交于 2019-12-13 18:40:57
问题 I set up Apache on with the standard self-signed ssl mods to my http.conf, and this is working locally on my mac, but when I try to access it from my windows machine with IE8 it doesn't seem to like the certificate. I've tried to import the certificate into the Windows -> Internet Options modal, but that just doesn't seem to work for accessing the iFrame cross domain. IE shows that yellow alert at the bottom of the page warning about an iFrame, but doesn't load the other files from that

SSL issue on Android 9 Google Pixel One

99封情书 提交于 2019-12-13 15:48:10
问题 I am trying to perform HTTPS requests to a host 10.10.10.1 from Android host with 10.10.10.2 in network without Internet connection - only WiFi 2 peers AP and Android 9 Google Pixel One device. I've created network_security_config.xml with my cert that is self-signed and has CN=10.10.10.1 and SAN= DNS: 10.10.10.1 PI: 10.10.10.1. <?xml version="1.0" encoding="utf-8"?> <network-security-config> <base-config cleartextTrafficPermitted="true"> <trust-anchors> <certificates src="system" />