Tag Archives: ssl

How to convert Google API Service Account certificate to base64

Recently in Google Developer Console by mistake I generated a new SSL certificate for my project’s Service Account so had to convert it again from p12 file to base64 representation and store its thumbprint separately. Here’s how you can do … Continue reading

Posted in Programming | Tagged | Leave a comment

How to extract private key from pfx and remove passphrase using OpenSSL

When I tried to enable SSL for BitTorrent Sync installed on my new NAS Synology 215j it turned out it requires not pfx but private and public keys separately in base64 encoded form. Here’s the command to extract certificate itself. … Continue reading

Posted in Infrastructure | Tagged | Leave a comment

How to support different domain names in SSL behind reverse-proxy in IIS ARR

When you don’t want to enable SSL offloading so both internet facing web site and the one behind reverse proxy are access over SSL you will receive domain name mismatch. The solution is simple. Either: enable SSL Offloading enable Require … Continue reading

Posted in Infrastructure | Tagged , | Leave a comment

How to configure RDG behind NAT

This week’s problem was to make working Remote Desktop Gateway located behind a NAT. Here’s the lessons learned: Issue an SSL certificate with the subject matching public DNS name (FQDN) Use the default port 3389/TCP, otherwise SSL certificate’s name won’t … Continue reading

Posted in Infrastructure | Tagged , | Leave a comment

How to issue a self-signed certificate

To have a properly working SSL web site you have to assign a SSL certificate to it. A real one costs real money. Easily especially for development to issue a self-signed one. To create certificates I will use MakeCert.exe that … Continue reading

Posted in Infrastructure | Tagged | Leave a comment