简体   繁体   English

无法在Mac OS上编辑/System/Library/OpenSSL/openssl.cnf文件(只读)

[英]Cannot edit /System/Library/OpenSSL/openssl.cnf file on Mac OS (read-only)

I'm trying to generate a CSR For a multi-domain EV. 我正在尝试为多域EV生成CSR。 According to the instructions here... 根据这里的说明......

https://easyengine.io/wordpress-nginx/tutorials/ssl/multidomain-ssl-subject-alternative-names/ https://easyengine.io/wordpress-nginx/tutorials/ssl/multidomain-ssl-subject-alternative-names/

...I need to edit the openssl.cnf file to allow me to configure 3 domains for my multi-domain EV. ...我需要编辑openssl.cnf文件,以便为我的多域EV配置3个域。 However, I can't seem to edit the cnf file. 但是,我似乎无法编辑cnf文件。 I've tried sudo and other methods but I can't save the changes to the file. 我尝试过sudo和其他方法,但我无法保存对文件的更改。 Am I approaching this all wrong? 我接近这一切都错了吗? Vim says I can't save changes to a "read-only" file. Vim说我无法将更改保存到“只读”文件。

The instructions you are reading are incorrect. 您正在阅读的说明不正确。 You don't need to edit that file. 您无需编辑该文件。

Make a copy of OpenSSL configuration somewhere else, like your home directory, and use that configuration file instead of the default by passing the -config option to openssl . 在其他地方(如主目录)复制OpenSSL配置,并通过将-config选项传递给openssl来使用该配置文件而不是默认配置文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM