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

查看:570
本文介绍了在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?

推荐答案

您可以下载原生 Windows版OpenSSL ,或者您随时可以使用 Cygwin

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

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

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