大网数据广告活动
服务器运维问答

How to use Certreq to generate CSR and install on Windows VM with no IIS Mgr?

· 52CE 我爱测

I am running an Azure Windows VM. I used Certreq to create a CSR file using the following command: certreq.exe -new request.inf nctest.csr It all looks good. I have to pass the csr file off to a client who is then going to get th…

问题原文

原帖链接 · going · CC BY-SA 4.0

I am running an Azure Windows VM. I used Certreq to create a CSR file using the following command:

certreq.exe -new request.inf nctest.csr

It all looks good. I have to pass the csr file off to a client who is then going to get the SSL from the domain registrar. I then need to get SSL up and running on the VM with the provided certificates.

It appears that I just need to run the command:

certreq -accept example.com.crt

And I'm good to go? I'm assuming I can use this as next steps: https://stackoverflow.com/a/25290387/139196

However, I'm also unsure where to get the SSL certificate password mentioned here:

$mypwd = ConvertTo-SecureString -String "SSLCertificate password" -Force –AsPlainText

Can I ignore and just not pass a password if none was provided as part of the creation using Certreq?

已采纳解答

原帖链接 · Crypt32 · CC BY-SA 4.0

However, I'm also unsure where to get the SSL certificate password mentioned here:

you don't need the password. You already have installed the certificate so this and next script line (Import-PfxCertificate cmdlet call) must be omitted.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2022-02-02)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。