openssl to cm