How to get .pem file from .key and .crt files?

How can I create a PEM file from an SSL certificate? These are the files that I have available: .crt server.csr server.key

WCF Error "This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case"

I'm having a problem using a WCF call from a Windows service to my WCF service running on my web server. This call has been working for a number of weeks, but then stopped working all of a...

How to create .pfx file from certificate and private key?

I need .pfx file to install https on website on IIS. I have two separate files: certificate (.cer or pem) and private key (.crt) but IIS accepts only .pfx files. I obviously installed certificate...

How to generate a self-signed SSL certificate using OpenSSL?

I'm adding HTTPS support to an embedded Linux device. I have tried to generate a self-signed certificate with these steps: openssl req -new > cert.csr openssl rsa -in privkey.pem -out...

How to properly import a selfsigned certificate into Java keystore that is available to all Java applications by default?

I do want to import a self signed certificate into Java so any Java application that will try to establish a SSL connection will trust this certificate. So far, I managed to import it in keytool...

OpenSSL encoding errors while converting cer to pem

I`m trying to convert the .cer file to .pem through openssl, the command is: openssl x509 -inform der -in certnew.cer -out ymcert.pem and that's the errors I`m getting: unable to load...

IIS 7 Error "A specified logon session does not exist. It may already have been terminated." when using https

I am trying to create Client Certificates Authentication for my asp.net Website. In order to create client certificates, I need to create a Certificate Authority first: makecert.exe -r -n...

How to disable Owncloud https redirect?

I installed Owncloud on Ubuntu 12.04 with an apache server. I use ssl for authentication but when sharing links and data it is cumbersome for the user to accept the self signed certificate. Is...

"PKIX path building failed" and "unable to find valid certification path to requested target"

I'm trying to get tweets using twitter4j library for my java project which uses under the covers java.net.HttpURLConnection (as can be seen in stack trace). On my first run I got an error about...

Exception: Public keys in reply and keystore don't match

keytool -import -alias tomcat -keystore keystore.jks -file secure.mysite.com.crt keytool error: java.lang.Exception: Public keys in reply and keystore don't match I had followed the instructions...

SSL Pinning with Volley network library on Android

I want to use SSL Pinning in volley network library. Is there any way to implement SSL pinning with volley? Does volley provide this support for security improvements?

SSL CERTIFICATE_VERIFY_FAILED in aws cli

I installed [AWS CLI][1] on the Windows server 2007 32bit. aws --version aws-cli/1.8.8 Python/2.7.9 Windows/2008Server I configure aws cli using keys Once I run below command to test AWS S3, I...

OpenSSL hangs during PKCS12 export with "Loading 'screen' into random state"

I am generating a self-signed SSL certificate with OpenSSL (not makecert), for use in IIS. openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes -subj...

Hive 2.1.1 MetaException(message:Version information not found in metastore. )

I'm running Hadoop 2.7.3, MySQL 5.7.17 and Hive 2.1.1 on Ubuntu 16.04. When I run ./hive, I keep getting the following warning and exception: SLF4J: Class path contains multiple SLF4J...

Redirect http to https in laravel 5.2

I have a Laravel 5.2 project. Recently, I installed an SSL certificate on my website so when I type https://example.com in the browser it works but when I write example.com, it connects by...

Spring Boot - enable and configure SSL certificate

I have this certificates / files in order to enable SSL for my application: I found out that this properties are needed for Spring Boot to enable...

Using Apple Pay JavaScript/NodeJS on Azure

I used the following as a working sample to intake JavaScript Apple Pay transactions through a NodeJS server on Azure. There is a whole process you have to go through for the certificates once you...

Reload Netty Server's SSL Context for gRPC

Can someone tell me how to reload the SSLContext when a server certificate it refreshed/renewed without restarting the gRPC server? I have this code to build and start a gRPC server. The method...

Unable to get local issuer certificate when using requests in python

here is my code import requests; url='that website'; headers={ 'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', ...

SSL validation failed for https://s3.zoneame.amazonaws.com/ [SSL: CERTIFICATE_ VERIFY_FAILED] certificate verify failed (_ssl.c:749)

When I run the command aws s3 ls I'm getting this error: SSL validation failed for https://s3.zonename.amazonaws.com/ [SSL: CERTIFICATE_ VERIFY_FAILED] certificate verify failed (_ssl.c:749) It...

Python Paho-mqtt client with server side certificate problem

My python paho-mqtt client failed to connect to broker which written in java. The broker has enabled SSL connection with a jks type cert. The broker is beyond my administration. I convert the jks...

OpenVPN works on Windows, fails on Linux VPS

I need to configure a OpenVPN connection which is working successfully on Windows, but after trying it on Linux Ubuntu 16.04 on DigitalOcean it fails with the following output: Tue Oct 1 13:33:13...

Requesting Help: Laravel Websockets Not Working With SSL Certificate

Overview This is my first time working with websockets. The project I'm working in is using the Laravel framework, so I chose to give Laravel Websockets (version 1.3.0) a try. I set up a simple...

How to resolve peer unverified exception in a secure nifi cluster?

I set up a secured NiFi cluster with TLS certificates provided by the organisation.On accessing the UI I am getting the error as "javax.net.ssl.SSLPeerUnverifiedException: Hostname abc.com not...

Copy letsencrypt files to docker container

Im not an expert with docker, I am just getting used to it. I want to copy ssl certificates, which are generated on the host machine to my docker container. I read that it should be able to do...

ERROR: ssl certificate doesn't exist: /home/rsvay/snap/barrier-kvm/2/.local/share/barrier/SSL/Barrier.pem

I am a frequent user of Barrier-kvm. I recently upgraded my server to Ubuntu 20.04 and started getting error "ERROR: ssl certificate doesn't exist:...

Why Postman giving SSL error even the certificate date is valid?

Date of Post is 30 Sep 2021 .Postman is not giving any response when SSL is enabled while hitting a api, but showing response with disable SSL. But my question is, the TLS "authorizationError"...

npm / git fails with: refusing to work with credential missing host field

I need to install a dependency from git like this: npm i git://hostname.com/scm/projects/project.name.git#tag123 unfortunatly it fails with: npm ERR! Error while executing: npm ERR! C:\Program...

How can I handle the error "certificate verify failed: certificate has expired" in TensorFlow?

I'm just starting to create an image classification program in Python with TensorFlow using the CIFAR10 dataset, following this tutorial. Here is my code so far: import tensorflow as tf from...