Passing CSR distinguished-name fields as parameters to OpenSSL

Pass the subject via the “-subj” argument: openssl req -new -key <private key file> -out <CSR output file> -subj “/C=<Country Name>/ST=<State>/L=<Locality Name>/O=<Organization Name>/CN=<Common Name>” Note that if you want to have OpenSSL build the subject string for you, you can create the CSR as you normally would, and then execute the command to self-sign it. … Read more

What does “e is 65537 (0x10001)” mean?

The “e” is the public exponent, in openssl genrsa, you can use the option -F4 or -3 to choose between 65537 and 3. For information on public exponent, you may take a look on this question: https://security.stackexchange.com/questions/2335/should-rsa-public-exponent-be-only-in-3-5-17-257-or-65537-due-to-security-c

When was TLS 1.2 support added to OpenSSL?

On the official changelog page you provided, under Changes between 1.0.0h and 1.0.1 [14 Mar 2012] you can see Initial TLS v1.2 support. *) Add TLS v1.2 server support for client authentication. [Steve Henson] *) Add TLS v1.2 client side support for client authentication. Keep cache of handshake records longer as we don’t know the … Read more

What books will help me learn everything I can about SSL/PKI? [closed]

Here is a list of four good books on the subject (SSL/TLS): SSL and TLS: Theory and Practice SSL and TLS: Designing and Building Secure Systems SSL & TLS: Essentials Securing the Web Network Security with OpenSSL Here are some good books on PKI: Understanding PKI: Concepts, Standards, and Deployment Considerations Planning for PKI: Best … Read more

Uncommon homebrew error: “Unknown command: switch”

As I commented above, Homebrew got rid of the switch command entirely, which is why it says “Unknown command”. But rbenv provides a tap that you can install openssl from. You can run the command below: brew install rbenv/tap/[email protected] If you’re installing [email protected] for Ruby purposes, this thread tells you how to do that as … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)