本文介绍了在Windows中制作CSR证书(7)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

密切相关未安装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.

我已经看到并使用了此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)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 02:39