Openssl Generate Key From Certificate