How to Remove a Passphrase from Certificate Key

If you have a Certificate Key that includes a Passphrase and you need to remove it, potentially to use it with AWS App Mesh, then you can do the following: How to Remove a Passphrase using OpenSSL Locate the Private Key Run the following command: open ssl rsa -in <original.key> -out <new.key> Enter the original passphrase for the existing key The output file <new.key> will now be unencrypted How to Verify if the Passphrase has been removed Open the file in a text editor and check the headers....

September 8, 2022 · 1 min · 116 words · Andrew

Connection broken by ‘SSLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)’

This happens when your machine does not have the correct certificate bundle to access the Pypi repository, or you are behind a corporate proxy that just loves to block everything! An easy way to get around this is to edit (or create) a local pip.conf file under your home directory: ~/.pip/pip.conf Put the following in: [global] index-url = http://mirrors.aliyun.com/pypi/simple/ trusted-host = mirrors.aliyun.com As you can see, we have changed the download location to a mirror that doesn’t use HTTPS, so there will be no certificate issues....

July 26, 2018 · 1 min · 115 words · Andrew

[Solved] Pip: There was a problem confirming the ssl certificate

If you ever get the following error when trying to install a Pip module under Python: Could not fetch URL https://pypi.python.org/simple/****/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777) - skipping Then an easy way to get around it is by adding the trusted-host flag to your commandline argument as follows: --trusted-host pypi.python.org So your final command may look something like this: pip install some_module --trusted-host pypi....

February 26, 2018 · 1 min · 73 words · Andrew

When to use SSL?

There has always been quite a lot of heated discussion around the question of when to use SSL and when to avoid it while building websites. I have been asked this question a few times myself and finally thought that it would be good for everybody if I just wrote an article on it explaining what the big huff was all about. Obviously if anyone has anything to add or if you disagree with me for whatever reason, then feel free to do so below at the end of this article....

September 3, 2010 · 3 min · 461 words · Andrew