ssl

HTTP GET using cURL is giving SSL error

妖精的绣舞 提交于 2021-02-10 16:02:33
问题 I have written a REST server which listens on port 8000. I am trying to invoke the api from the same machine using the cURL command - curl -H "accept: application/json" https://localhost:8000/status -v I am getting the following error * About to connect() to localhost port 8000 (#0) * Trying ::1... * Connected to localhost (::1) port 8000 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * NSS error -12263 (SSL_ERROR_RX_RECORD

HTTP GET using cURL is giving SSL error

可紊 提交于 2021-02-10 15:59:41
问题 I have written a REST server which listens on port 8000. I am trying to invoke the api from the same machine using the cURL command - curl -H "accept: application/json" https://localhost:8000/status -v I am getting the following error * About to connect() to localhost port 8000 (#0) * Trying ::1... * Connected to localhost (::1) port 8000 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * NSS error -12263 (SSL_ERROR_RX_RECORD

Xamarin Android error in (https, ssl, tls)

不问归期 提交于 2021-02-10 15:20:23
问题 I try to create an app in "Microsoft Visual Studio 2017" Xamarin Android App. If i repelasd with http and not (https) it works fine My qustion is: How can i reguest a https call? Basic code: using Android.App; using Android.Widget; using Android.OS; using Android.Support.V7.App; using System.Net.Http; using System; using System.Text; using System.Net; using System.IO; //System.Net.WebException: Error: TrustFailure (The authentication or decryption has failed.) namespace httprequest {

Xamarin Android error in (https, ssl, tls)

和自甴很熟 提交于 2021-02-10 15:20:02
问题 I try to create an app in "Microsoft Visual Studio 2017" Xamarin Android App. If i repelasd with http and not (https) it works fine My qustion is: How can i reguest a https call? Basic code: using Android.App; using Android.Widget; using Android.OS; using Android.Support.V7.App; using System.Net.Http; using System; using System.Text; using System.Net; using System.IO; //System.Net.WebException: Error: TrustFailure (The authentication or decryption has failed.) namespace httprequest {

Mutual Authentication in Scala with Akka

只谈情不闲聊 提交于 2021-02-10 15:14:12
问题 I would create a TLS Session in Scala using Akka with mutual authentication between a client and a server. I have created two CA certificate that have to trust the respective certificates incoming from the other part. Could you give me an exemple of how implement this? Thank you. 回答1: I created a github project which demonstrates mutual authentication with different kind of clients, including Akka. Please have a look here: https://github.com/Hakky54/mutual-tls-ssl It contains a full example

How to chain a SSL server certificate with the intermediate and root CA certificates?

北城以北 提交于 2021-02-10 14:29:42
问题 I thought I understood, but it is not working! I read among others http://binblog.info/2010/02/02/lengthy-chains/ which is the cleanest explanation I found. Background: Comodo's cheap PositiveSSL server certificate came with a root and two intermediate CA certificates (I replaced my FQDN with myserver.com): $ unzip ../myserver_com.commodo.certificate.zip Archive: ../myserver_com.commodo.certificate.zip extracting: AddTrustExternalCARoot.crt extracting: COMODORSAAddTrustCA.crt extracting:

Extend/renew a p12 certificate self signed expired

不想你离开。 提交于 2021-02-10 13:27:12
问题 Our adobe air application p12 certificate is already expired. Are there any ways to renew to same certificate without having to create another one? 回答1: A renewed certificate is nothing else then using the same Certificate Signing Request, which includes the Subject information and the public key, and sign it again by the Certificate Agency (in this case you again because it is self-signed), although with a changed expire time. So, extending a certificate will create a a new one, although

Permanently Redirect http to https on Google App Engine Flexible with Django

梦想的初衷 提交于 2021-02-10 12:15:51
问题 I'm working on a project that uses Google Cloud Platform's App Engine in the Python 3 Flexible Environment using Django, and I'm trying to permanently redirect all requests over http to https for all routes, but so far have not been successful. I can access the site over https , but only if explicitly written in the address bar. I've looked at this post: How to permanently redirect `http://` and `www.` URLs to `https://`? but did not find the answer useful. The app works properly in every

Permanently Redirect http to https on Google App Engine Flexible with Django

谁都会走 提交于 2021-02-10 12:14:09
问题 I'm working on a project that uses Google Cloud Platform's App Engine in the Python 3 Flexible Environment using Django, and I'm trying to permanently redirect all requests over http to https for all routes, but so far have not been successful. I can access the site over https , but only if explicitly written in the address bar. I've looked at this post: How to permanently redirect `http://` and `www.` URLs to `https://`? but did not find the answer useful. The app works properly in every

S3 object url is not secure(ssl) when opened in browser

五迷三道 提交于 2021-02-10 09:28:55
问题 I am building a small REST API service to store and retrieve photos. For that, I am using S3 as following: public String upload(InputStream uploadedInputStream, Map<String, String> metadata, String group, String filename) { TransferManager tm = TransferManagerBuilder.standard() .withS3Client(amazonS3) .build(); ObjectMetadata objectMetadata = new ObjectMetadata(); objectMetadata.setContentType(metadata.get(Configuration.CONTENT_TYPE_METADATA_KEY)); // TODO: 26/06/20 Add content-type to