在 Windows 上创建 OpenSSL 证书 [英] Create a OpenSSL certificate on Windows

查看:26
本文介绍了在 Windows 上创建 OpenSSL 证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我对 SSL 证书以及它们的创建和使用非常陌生,我想也许 StackOverflow 成员可以帮助我.

Since I'm very new to SSL certificates, and the creation and usage of them I figured maybe StackOverflow members can help me out.

我来自荷兰,在线支付的常用方式是实施 iDEAL.主要银行支持的在线支付协议.我必须实现一个专业"版本.这包括创建 RSA 私钥.基于该密钥,我必须创建一个证书并将其上传到网络服务器.

I'm from Holland, the common way of online payments is by implementing iDEAL. An online payment protocol supported by the major banks. I have to implement a 'professional' version. This includes creating a RSA private key. Based on that key I have to create a certificate and upload it to the webserver.

我在一台 Windows 机器上,完全不知道该怎么做.我查看了 OpenSSL 网站,因为手册将我转发到该网站以获取 SSL 工具包.

I'm on a Windows machine and completely confused what to do. I took a look at the OpenSSL website, because the manual forwarded me to that website to get a SSL Toolkit.

手册提供了两个必须执行的命令才能创建 RSA 密钥和证书.

The manual provides two commands which have to be executed in order to create a RSA key and a certificate.

命令是:

openssl genrsa -des3 –out priv.pem -passout pass:myPassword 1024

openssl req -x509 -new -key priv.pem -passin pass:myPassword -days 3650 -out cert.cer

有没有办法通过 Windows 机器上的实用程序来做到这一点?我已经下载了 PuTTy KeyGenerator.但我不知道该怎么做,我已经创建了一个密钥(SSH-2 RSA,不管是什么......)但是我如何使用该密钥创建一个证书?

Is there a way I can do this by a utility on a windows machine? I've downloaded PuTTy KeyGenerator. But I'm not sure what to do, I've created a key (SSH-2 RSA, whatever that is..) but how do I create a certificate with that key?

推荐答案

你可以下载一个原生的OpenSSL对于 Windows,或者您始终可以使用 Cygwin.

You can download a native OpenSSL for Windows, or you can always use Cygwin.

这篇关于在 Windows 上创建 OpenSSL 证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆