self-signed

Signed Java Applet Throws Security Exception on Connect to a Webservice

南笙酒味 提交于 2020-01-03 02:57:20
问题 I have an java applet running on tomcat 5.5. It is signed ( -selfcert). I still get an java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader) Exception, when my Applet tries to connect to a webservice (already in this line): ws_locator = new My_WebserviceLocator(ws_adress + "?wsdl", new javax.xml.namespace.QName("http://impl.webservice", "My_Webservice")); Since there are some similar questions here, an i read them: Yes, the applet is signed. I

How to ignor self signed certificates with System.Net.Http.HttpClient in Universal Windows App

拟墨画扇 提交于 2020-01-02 04:09:26
问题 I am creating a Portable Class Library which means I must use System.Net.Http.HttpClient to call my web APIs as far as I understand. The challenge is that for my Universal Windows App, I cannot figure out how to ignore the error that is returned due to the fact the fact the API server can have a self signed certificate. Any suggestions would be greatly appreciated. UPDATE: I cannot import any certificates as this will be an application that runs on various devices in various organizations and

Spring RestTemplate I/O error: No peer certificate

不羁的心 提交于 2020-01-01 22:15:13
问题 I always get the same error whens try to get a https resource: org.springframework.web.client.ResourceAccessException: I/O error: No peer certificate; nested exception is javax.net.ssl.SSLPeerUnverifiedException: No peer certificate I have a self-signed virtual host where my app runs, the app works fine on http but I need https . Here is my code in android app: mRestTemplate = new RestTemplate(); mRestTemplate.getMessageConverters().add(new GsonHttpMessageConverter()); mRestTemplate

Issue in Self Signed Client Certificate while processing an Identity Server Client Credentials Flow

跟風遠走 提交于 2019-12-30 10:36:29
问题 I created a Self Signed Certificate for my internal development purpose using MakeCert.exe Step #1 : I Created a Root CA using the following Command makecert -n "CN=Bala root signing authority" -cy authority -r -sv root.pvk root.cer Step #2 : Installed the Root CA Certificate which is created in Step #1 using the following Command certutil -user -addstore Root root.cer Step #3 : I Created a Client Certificate using the following Command makecert -pe -n "CN=Bala Client" -a sha1 -cy end ^ -sky

Volley SSL - Hostname was not verified

主宰稳场 提交于 2019-12-30 03:33:10
问题 I'm developing an Android App and I need to access an HTTPS address. I'm using Volley to request my data, but now i'm getting this error com.android.volley.NoConnectionError: java.io.IOException: Hostname '<address>' was not verified To get the SSL factory i make this: private static SSLSocketFactory getSocketFactory() { SSLSocketFactory socketFactory = null; try { final CertificateFactory certificateFactory = CertificateFactory.getInstance("X.509"); final BufferedInputStream bis = new

Is it possible to force the WCF test client to accept a self-signed certificate?

江枫思渺然 提交于 2019-12-29 18:49:13
问题 I have a WCF web service running in IIS 7 using a self-signed certificate (it's a proof of concept to make sure this is the route I want to go). It's required to use SSL. Is it possible to use the WCF Test Client to debug this service without needing a non-self-signed certificate? When I try I get this error: Error: Cannot obtain Metadata from https:///Service1.svc If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata

Node.js HTTPS configuration error - no common encryption algorithm(s)

六月ゝ 毕业季﹏ 提交于 2019-12-25 01:18:40
问题 I have seen other similar questions but non addresses my problem. I have generated my TLS (openSSL) Self-Signed certificate, but seems not working on my NodeJS server. Instructions to generate SSL openssl req -newkey rsa:2048 -keyout key.pem -x509 -days 365 -out certificate.pem openssl x509 -text -noout -in certificate.pem openssl pkcs12 -inkey key.pem -in certificate.pem -export -out certificate.p12 openssl pkcs12 -in certificate.p12 -noout -info // verify certificate So at the end I have

Using self-signed certificate for code signing software

為{幸葍}努か 提交于 2019-12-24 06:03:44
问题 Currently our company uses a digital certificate from Versign/Symtanec for code signing our software. We have someone in our company attempting to persuade us to use a self-signed certificate instead of one purchased from Verisign/Symantec. Partially as a "cost-down" procedure (even though they're pretty damn cheap for a 2-3 year renewal), and partially to make things easier in a patching sense, as the systems our software runs on (industrial machines) has installed software with a non

Alternative to CertandKeygen for self signed certificate generation in java

南楼画角 提交于 2019-12-24 00:58:52
问题 I have the following way of generating a self signed certificate using the class CertandKeyGen. CertandKeyGen cert = new CertandKeyGen("RSA", "SHA256withRSA); cert.generate(size); .. X509Certificate certificate = cert.getSelfCertificate(name, validity); Since these are internal APIs from keytool, I am looking at a similar approach using java.security.* APIs. I want to know if this is possible currently. If yes, what are those APIs? I dug around but I am unable to find anything about it. I am

Dialogflow fulfilment webhook url support self signed certificates?

喜你入骨 提交于 2019-12-23 20:23:48
问题 I am using Dialogflow fulfilment webhook for weather. Dialogflow says "You can use only https:// in fulfillment url when "Google Assistant" integration enabled" so, I tried Self-Signed certificates for https url. but I can't get webhook response. I can't use Self-Signed certificates for webhook url? thank you for anyhelp! 回答1: I found the answer myself after I have tried for 7 days. Dialogflow fulfilment webhook url doesn't support self signed certificates. so, I used heroku and aws lambda.