self-signed

How to make a machine trust a self-signed Java application

泪湿孤枕 提交于 2019-11-28 18:12:32
I'm deploying an application using JAWS , and it worked until late 2013 when I got a warning, and then this morning Java completely blocked it. The message in French is: Application bloquée par les paramètres de sécurité Vos paramètres de sécurité ont bloqué l'exécution d'une application auto-signée avec une version obsolete ou arrivée à expiration de Java. which would translate roughly as: Application blocked by the security settings Your security settings have blocked from running an application that has been self-signed with an obsolete or outdated Java. The grammar is not that clear, the

Allow unverified ssl certificates in WKWebView

ぃ、小莉子 提交于 2019-11-28 17:04:09
I'm trying to load a HTTPS url with an self-signed certificate in a WKWebView for iOS 8 and it keeps failing. The workaround used with UIWebView (using setAllowsAnyHTTPSCertificate from NSUrlRequest) doesn't seem to work. Does anyone know of any workaround? I do not need a solution that is valid for AppStore, as I only need to access self-signed certificate sites on development phases, not on production, but it's really a problem for development and testing server instances. Thank you in advance. jvoll This is fixed in iOS 9! WKWebView finally makes calls to webView(_

How do I trust a self signed certificate from an electron app?

戏子无情 提交于 2019-11-28 10:59:01
I have an electron app that syncs with a server I own at a https://XXX.XX.XX.XXX:port that has a self signed certificate. How can I trust that certificate from my electron app? Right now I get: Failed to load resource: net::ERR_INSECURE_RESPONSE You need to put the following code into your "shell" (core electron init) file: // SSL/TSL: this is the self signed certificate support app.on('certificate-error', (event, webContents, url, error, certificate, callback) => { // On certificate error we disable default behaviour (stop loading the page) // and we then say "it is all fine - true" to the

Xcode 5 crashes with SVN version 1.7 - self signed certificate

非 Y 不嫁゛ 提交于 2019-11-28 10:41:27
问题 I've updated to XCode 5 today (using the Mac AppStore) and ever since it keeps crashing whenever I open my previous projects (that are working copies of repos located in my local SVN). The error report contains infos (IDESourceControlCredentialsValidator) that indicate that XCode has some issues with my SVN: Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Application Specific Information: ProductBuildVersion: 5A1413 ASSERTION FAILURE in /SourceCache

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

旧城冷巷雨未停 提交于 2019-11-28 09:56:22
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, TimeSpan expirationLength) { // create DN for subject and issuer var dn = new CX500DistinguishedName(); dn

Is it useless to sign my Windows application with a self signed certificate?

你说的曾经没有我的故事 提交于 2019-11-28 06:41:26
问题 I have coded an NWjs Windows application (Chromium application) and using Inno Setup, I have signed it using a self-signed certificate. However, I get the "Windows protected your PC" message when trying to install it from the web. I wonder now if signing my application with this self-signed certificate is useless because I get the same result when I don't sign the application and package it as it is. When I click "more info" it states that the publisher is unknown in both cases when I sign

How to use SSL with a self-signed certificate in groovy?

喜夏-厌秋 提交于 2019-11-28 06:02:39
I have some resources I must access with SSL that use self-signed certificates. In general, most tools have a simple setting to allow these to be accessed without error or just a warning. However, it seems like the proper way to do this with the JVM is to import the signing certificate into a keystore as a CA. I have a groovy script I'd like to use, but I'd prefer my script to work standalone on any any JVM without modifying the keystore or distributing a new keystore. Is there a simple way to override the certification verification? After a bit of research, I found this post . Here's what I

How to export private key from a keystore of self-signed certificate

笑着哭i 提交于 2019-11-28 05:24:09
I just created a self-signed certificate on a linux box running tomcat 6. I created the keys like this, valid for 10 years: keytool -genkey -alias tomcatorange -keyalg RSA -validity 3650 and copied the keystore into a folder in tomcat, and updated server.xml to point at the keystore. Now my network admin is asking for the both the public and private key ( for our load balancer) I can generate the public key using: openssl s_client -connect mydomain.com:8443 But how can I export/retrieve the private key? James K Polk It is a little tricky. First you can use keytool to put the private key into

HTTPS with Self-Signed SSL Certificate Issues… Solution or better way?

谁说胖子不能爱 提交于 2019-11-28 04:34:48
All I need to do is download some basic text-based and image files from a web server that has a self-signed SSL certificate. I have been trying to figure out how to use HttpClient to do this, but getting the SSL to work is a nightmare that seems to be way too much trouble for such a simple task. Is there a better way to perform these file downloads? Perhaps through a WebView or Browser feature? Reinventing the wheel of making a simple HTTPS GET request is a major pain, and is significantly holding up my development schedule. stormin986 I found two great examples of how to accept self-signed

How to make a machine trust a self-signed Java application

天涯浪子 提交于 2019-11-27 20:16:20
问题 I'm deploying an application using JAWS, and it worked until late 2013 when I got a warning, and then this morning Java completely blocked it. The message in French is: Application bloquée par les paramètres de sécurité Vos paramètres de sécurité ont bloqué l'exécution d'une application auto-signée avec une version obsolete ou arrivée à expiration de Java. which would translate roughly as: Application blocked by the security settings Your security settings have blocked from running an