Tag: OpenSSL

OpenSSL is an open-source software library that provides cryptographic functions, including secure communication protocols like SSL/TLS, widely used for securing network communications and data transmission.

  • Create certificate for localhost domains on macOS

    Create certificate for localhost domains on macOS

    By

    in ,

    The following steps describes how to create a certificate for localhost domains for a local webserver on macOS. Step 1: create a self-signed root certificate First, let’s create a self-signed root certificate: The parameter -days 390 sets the number of days, this certificate is valid. Starting on September 1st (2020), SSL/TLS certificates cannot be issued…

    Read more

  • Cryptography: RSA Schlüsselpaar mit OpenSSL erstellen

    By

    in

    RSA Schlüsselpaar mit einem privaten 2048 bit Schlüssel erstellen openssl genpkey -algorithm RSA -out private.pem -pkeyopt rsa_keygen_bits:2048 Um diese Datei vor unerwünschten Zugriffen zu schützen, sollten die Schreibrechte angepasst werden: chmod go-r private_key.pem Den öffentlichen Schlüssel aus einem RSA Schlüsselpaar extrahieren openssl rsa -pubout -in private.pem -out public.pem Damit wird die Datei public.key mit dem…

    Read more