self-signed

Referrer policy hide the referrer of self-signed certificates

纵然是瞬间 提交于 2019-12-02 06:54:36
问题 I can't seem to get the referrer on a 3rd party XHR request to a development server with a self-signed certificate. After complying to chrome's use of SAN instead of CN and registering my self-signed localhost certificate, I got the green dot for this request in Dev Tools security panel, but I also get the following: This request does not comply with Chrome's Certificate Transparency policy. I've tried to use Chrome Group Policies to disable it, but it did not work. Have anyone else stumbled

Using JavaMail with a Self Signed Certificate

廉价感情. 提交于 2019-12-01 20:57:46
I have a servlet that contains the following code: System.setProperty("javax.net.ssl.keyStore", getServletContext().getRealPath("keystore.jks")); System.setProperty("javax.net.ssl.keyStorePassword", "123456"); System.setProperty("javax.net.ssl.trustStore",getServletContext().getRealPath("keystore.jks")); System.setProperty("javax.net.ssl.trustStorePassword","123456"); SSLSocketFactory sslsocketfactory = (SSLSocketFactory) SSLSocketFactory.getDefault(); SSLSocket sslsocket = (SSLSocket) sslsocketfactory.createSocket("127.0.0.1", 606); With this code I'm able to use SSL (what is mandatory for my

Getting SmtpClient to work with a self signed SSL certificate

半世苍凉 提交于 2019-12-01 17:13:27
I'm attempting to use the System.Net.Mail.SmtpClient class to relay an email through my company's email server. All SMTP connections to the mail server have to be SSL and it uses a self signed certificate. That's fine for Outlook where you can just click ok on the warning dialogue but does anyone know a way to get SmtpClient to accept a self signed certificate? I'm planning on using this app on the Windows Azure Platform so I won't be able to install the self signed certificate as a trusted root. You may take a look at the ServerCertificateValidationCallback property: ServicePointManager

Getting SmtpClient to work with a self signed SSL certificate

半腔热情 提交于 2019-12-01 15:40:19
问题 I'm attempting to use the System.Net.Mail.SmtpClient class to relay an email through my company's email server. All SMTP connections to the mail server have to be SSL and it uses a self signed certificate. That's fine for Outlook where you can just click ok on the warning dialogue but does anyone know a way to get SmtpClient to accept a self signed certificate? I'm planning on using this app on the Windows Azure Platform so I won't be able to install the self signed certificate as a trusted

Need signature after SAML token in client request

假装没事ソ 提交于 2019-12-01 09:31:05
I have a serialized SOAP request message with a SAML token holder-of-key that works against a vendor service. I want to create a demonstration program in C# to produce a similar request. To do this, I want to write a client that creates its own SAML token. I've got a SAML2 token created successfully from a self signed cert and I am able to associate it to the request using the ChannelFactoryOperations.CreateChannelWithIssuedToken approach (.Net 4.0). Everything is working great but I can't figure out the C# required to place the signature after the assertion and use the SAML token as the

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

被刻印的时光 ゝ 提交于 2019-12-01 08:43:19
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 signature ^ -ic root.cer -iv root1.pvk ^ -sv Bala.pvk Bala.cer Step #4 : I Created a .pfx file for the

Read in PKCS12/P12 Client Cert file for Android App

白昼怎懂夜的黑 提交于 2019-12-01 08:18:58
问题 I am trying to use a Client Certificate inside of my Android app so that I can insure HTTPS communication only with people who use the app or have the cert. I have the certificate in my res/raw folder. And Android Studio sees it when I start typing in "R.raw." However, when I use any of the following code, the variable comes back as having a "null" value: FileInputStream fis = null; fis = (FileInputStream) getClass().getResourceAsStream(String.valueOf(R.raw.clientcert2)); or InputStream fis =

Issue with Self Signed Cert in WCF - Must have Private Key

六月ゝ 毕业季﹏ 提交于 2019-12-01 03:57:13
I am creating a WCF service hosted within IIS7 on Windows Vista SP1. I am getting the following error: The certificate 'CN=SignedByLocalHost' must have a private key that is capable of key exchange. The process must have access rights for the private key. It looks like I would need to give the host process assess to the certificate which was done in the past with winhttpcertcfg which has been deprecated for Vista. The article I found indicates to use the certificate console, but I am missing somethign because I don't see any capability to edit my cert. Any help would be great! Thanks You can

curl self-signed certificate web service over SSL

帅比萌擦擦* 提交于 2019-11-30 20:49:31
问题 Hi I am having a big headache trying to curl a REST web service I created locally over SSL. I keep getting the message "curl: (60) SSL certificate problem: self signed certificate More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a

Sign a JAR automatically when building from Netbeans

这一生的挚爱 提交于 2019-11-30 20:16:53
I want to know if Netbeans has some option or setting that will allow me to automatically sign a jar as part of the build. trashgod In your -post-jar ant target, it may be convenient to read the <signjar> password from a file, e.g. ~/.keyconf . Give the file user-only access: e.g. 400 or 600 . <loadfile srcfile="${user.home}/.keyconf" property="keyconf"/> <signjar alias="..." storepass="${keyconf}"> ... </signjar> You could use the maven plugin for that. Netbeans is able to open and create maven files out-of-the-box. If you need signing for jnlp you could look into this and that explanation,