问题描述
与如何生成CSR密切相关未安装 IIS 时.
我也没有安装这个.我正在为 iOS 开发一个移动应用程序,并且我正在尝试获取一个配置文件,以便我可以在本地测试我的应用程序.在获取这个的过程中,我被要求提供一个 .csr
文件,它指导我如何在我的 Mac 上构建它.除了我没有mac,我有一台PC,而且我的公司专门使用PC.我需要此证书,但无法访问 Mac.
I also do not have this installed. I am developing a mobile application for iOS, and i am trying to obtain a provisioning file so i can test my app locally. In the process of acquiring this, i am asked for a .csr
file, and it instructs me on how to build this on my Mac. Except i don't have a mac, i have a PC, and my company exclusively uses PCs. I need this certificate, without having access to a Mac.
我见过并使用过 this CSR 生成器,但它给了我关键并请求长字符串,我需要一个 .csr
文件上传到 Apple.
i have seen and used this CSR generator, but it gives me the key and request in long strings of characters, and i need a .csr
file to upload to Apple.
将其粘贴到记事本中并将扩展名更改为 .csr 也不起作用:/
Pasting it in notepad and changing the extension to .csr didn't work either :/
有人对此有任何见解吗?
Does anyone have any insights on this?
推荐答案
你可以安装 OpenSSL for windows 并使用以下命令生成 CSR 文件:
You can install OpenSSL for windows and generate CSR file with this command:
openssl req -nodes -newkey rsa:2048 -keyout private_key.key -out cer_sign_request.csr
系统会询问您几个可选问题(按 ENTER).
You'll be asked for a few questions which are optional (press ENTER).
这将生成一个私钥(例如在钥匙串访问中)和一个证书签名请求作为 csr 文件.
This will generate a private key (such in keychain access) and a certification signing request as csr file.
这篇关于在 Windows 中制作 CSR 证书(7)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!