Change minimum openssl keysize to 2048 for new security guidelines

Switching default RSA keysize from 512 to 2048, new NIST security guidelines recommend minimum keysize of 2048 until year 2030 see https://wiki.mozilla.org/CA:MD5and1024
This would be great to add to PHP 5.6