define key size in constructor, otherwise the key size will depend on the servers openssl conf