self-signed-certificate

AWS IoT Connection error : Invalid “caCert” option supplied with aws-iot-device-sdk

我是研究僧i 提交于 2020-06-28 05:26:28
问题 I've provisioned a device in AWS with device Certificate which is signed by my CA. Also, I've registered my CA along with verificationCert in AWS previously. Now when I send the data, In the options, var awsIot = require('aws-iot-device-sdk'); var device = awsIot.device({ privateKey: '--BEGIN RSA PRIVATE KEY--', //private key of my device clientCert: '--BEGIN CERTIFICATE --', //cat deviceCertificate and registered CA caCert: '--BEGIN CERTIFICATE--', //Amazon root CA clientId: 'Thing01',

Install self-signed certificates no longer working in Android Q

妖精的绣舞 提交于 2020-05-13 07:48:09
问题 I have generated a self-signed certificate which I tried to install on my phone running Android 10, but a snack appears telling me that Private key required to install certificate . I have tried on a phone running Android 9 with the same certificate and it works as expected. Any idea if there is any workaround to get the CA installed? 回答1: Here's how I created a self-signed cert that will work with Android, iOS, and Chrome, from this answer: openssl commands: openssl req -new -newkey rsa:2048

Progressive Web App on a hosted UWP app does not work with HTTPS (Self-Signed)

一个人想着一个人 提交于 2020-03-05 03:03:54
问题 A PWA Angular App hosted on IIS (HTTPS binding with Self-Signed cert) which is being accessed by an UWP app (Hosted UWP: just a UWP shell pointing to the PWA App). When the package.appxmanifest configurations such as StartPage and Content URIs are pointing to the PWA with HTTP scheme it works well (Except of course the Service Worker registration throws a an error since HTTPS is a requirement). However, when I update the URLs to point to HTTPS the UWP shows only a blank white screen with no

openssl certificate chain CN is corrupted

六眼飞鱼酱① 提交于 2019-12-14 03:10:38
问题 I'm working on Android application that call some web services from my server. I have created a Self-Signed Certificate from IIS to test calling API s over https but failed with SSLPeerUnverifiedException exception. I already ask a question on stackoverflow regarding this Call API on server that is signed using Self-Signed Certificate After some digging and searching how to solve issue, I try the solution from following stackoverflow answer When I try to read server certificate information

How to create a self signed certificate for authentication in dotnet? [duplicate]

我怕爱的太早我们不能终老 提交于 2019-12-11 06:02:00
问题 This question already has answers here : How can I create a self-signed certificate using C#? (5 answers) Generate and Sign Certificate Request using pure .net Framework (1 answer) Closed 9 months ago . Background: We have to implement a custom authentication mechanism for identifying and authenticate my client's applications and initial details can be found here. Finally, We have come up with the conclusion that we will simply use self-signed certificate for encryption and decryption of JWT

Call API on server that is signed using Self-Signed Certificate

时光怂恿深爱的人放手 提交于 2019-12-11 05:07:03
问题 I'm working on an Android application that call some API s over https . using retrofit2 and okhttp3 . During my development I use a self-signed certificate that I generate in server. I face a lot of problems in calling API s as I'm using a self-signed certificate, I solve them all but stuck on this exception SSLPeerUnverifiedException . Currently I had copy my certificate ServerCertificate.cer to Download directory in order to load it and add it to allowed KeyStore . I try a lot of solutions

How to deal with self-signed TLS certificates in Laravel's SMTP driver?

时光毁灭记忆、已成空白 提交于 2019-11-27 06:46:47
问题 I'm trying to send an email with this configuration: return [ 'driver' => 'smtp', 'host' => 'mail.mydomain.com', 'port' => 26, 'from' => ['address' => 'mailer@mydomain.com', 'name' => 'Mailer'], 'encryption' => 'tls', 'username' => env('MAIL_USERNAME'), 'password' => env('MAIL_PASSWORD'), 'sendmail' => '/usr/sbin/sendmail -bs', 'pretend' => false, ]; When I submit the form I receive this erorr: ErrorException in StreamBuffer.php line 95: stream_socket_enable_crypto(): SSL operation failed