self-signed

WCF Self signed certificate is not trusted on the client

爷,独闯天下 提交于 2019-12-04 18:18:58
问题 I have a WCF service that is ONLY every used between two server machines. It will NEVER be used publicly. I was hoping I could use SSL with a self signed certificate for security. I created a certificate using IIS7, installed it on the client machine using IE and the MMC (Personal, TrustedRoot, Third-Party & TrustedPeople). I still can't get to the service, either from code or via IE8, without it questioning the certificate. From IE I get the usual "There is a problem with this website's

How a client app connect to an SSL server with a self-signed certificate in Qt?

社会主义新天地 提交于 2019-12-04 17:26:55
I want to communicate with a POP3 server with ssl and port 995 with my client app the certificate of server is self-signed and while running the app the error that received is: The certificate is self-signed, and untrusted A part of code is: socket = new QSslSocket(this); QFile certfile("D:\\hani\\cert\\localhost.localdomain.pem"); Q_ASSERT(certfile.open(QIODevice::ReadOnly)); QList<QSslCertificate> certList; QSslCertificate cert(&certfile,QSsl::Pem); certList.append(cert); socket->addCaCertificate(cert); socket->setCaCertificates(certList); QList<QSslCertificate> serverCert = socket-

curl self-signed certificate web service over SSL

戏子无情 提交于 2019-12-04 16:46:09
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 certificate signed by a CA represented in the bundle, the certificate verification probably failed due

How to create a self-signed wildcard SSL certificate for IIS 6?

限于喜欢 提交于 2019-12-04 12:25:55
问题 I'm trying to create a self-signed wildcard SSL certificate for use on a number of development and test servers running IIS 6. Following various guides has led to a couple ways of generating the certificates, but I haven't had any luck getting it to work. The most successful ways I've had were following this OpenSSL guide and using makecert.exe like so: makecert.exe -r -b 01/01/2009 -e 01/01/2042 -sr LocalMachine -ss MY -a sha1 -n CN="*.example.com" -sky exchange -pe -eku 1.3.6.1.5.5.7.3.1

Android connect to server with selfsigned certificate

℡╲_俬逩灬. 提交于 2019-12-04 12:16:00
问题 EDITTED: "The code below works fine, no errors, no exceptions" I'm aware of the grand amount of questions in regards to this topic, as well as the many blogs that google conjures up. I have read through them and have managed to come up with what I'm about to explain. My doubt lies in " is my approach correct? Does it have any side-effects? " and another question that is better asked as I explain my method. I based this approach following this Android.Developres tutorial. System.setProperty(

Adding self-signed SSL certificate for libcurl

痴心易碎 提交于 2019-12-04 08:34:18
问题 I am using libcurl in my C application to communicate with an HTTPS server that I have set up. I generated a self-signed certificate on that server that I wish to use with curl. I am aware of setting CURLOPT_SSL_VERIFYPEER to 0 to bypass the SSL verification, but I wish to add the generated certificate to curl's "valid" CA certificates. I have tried setting CURLOPT_CAPATH and CURLOPT_SSLCERT to the location of the server SSL public key, but it fails to pass the verification. How can I add my

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

淺唱寂寞╮ 提交于 2019-12-04 00:37:58
问题 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

android mapview not working

蹲街弑〆低调 提交于 2019-12-03 22:48:16
This is killing me!!! I seem to have done all I need to do but it just wont work! here is what i did: -created a keystore using keytool: $ keytool -genkey -v -keystore PADReleaseKey.keystore -alias pocket_aces_release -keyalg RSA -keysize 2048 -validity 10000 -got the MD5 fingerpring from it and used: $ keytool -list -alias pocket_aces_release PADReleaseKey.keystore -used it to get the mapAPI key and embedded it inside my application: <com.google.android.maps.MapView android:layout_weight="1" android:id="@+id/mapview" android:layout_width="fill_parent" android:layout_height="fill_parent"

Cannot connect via SSL using self signed certificate on Android 7 and above

北城余情 提交于 2019-12-03 21:54:32
I am using standard way to connect to SSL server with self signed certificate described here: https://developer.android.com/training/articles/security-ssl.html for the "Unknown certificate authority". Everything works up to the Android 7. On Android 7 and above I am getting Certificate exception with the message: "java.security.cert.CertPathValidatorException: Trust anchor for certification path not found." The only thing I managed to do is to create an "empty" X509TrustManager which accepts all certificates: final TrustManager[] trustAllCerts = new TrustManager[] { new javax.net.ssl

How to install self signed certificate in iOS 10

邮差的信 提交于 2019-12-03 19:34:31
问题 It appears that Apple has removed the ability to trust SSL certificates that are self-signed in iOS 10. I created my own self-signed certificate and have a local web server that signed with my certificate. I must install my certificate in iOS for testing locally as I have developed an iOS application that needs to trust my certificate. How can I install my self-signed certificate? 回答1: Good news, they haven't. If you just need this for development purposes, which it sounds like you do (and