加拿大华人论坛 美国华人新闻How can I get rid of the pass
在加拿大
The reason why this dialog pops up at startup and every re-start is that the RSA private key inside your server.key file is stored in encrypted format for security reasons. The pass-phrase is needed to be able to read and parse this file. When you can be sure that your server is secure enough you perform two steps: 1. Remove the encryption from the RSA private key (while preserving the original file): $ cp server.key server.key.org $ openssl rsa -in server.key.org -out server.key 2. Make sure the server.key file is now only readable by root: $ chmod 400 server.key Now server.key will contain an unencrypted copy of the key. If you point your server at this file it will not prompt you for a pass-phrase. HOWEVER, if anyone gets this key they will be able to impersonate you on the net. PLEASE make sure that the permissions on that file are really such that only root or the web server user can read it (preferably get your web server to start as root but run as another server, and have the key readable only by root).As an alternative approach you can use the ``SSLPassPhraseDialog exec:/path/to/program'' facility. But keep in mind that this is neither more nor less secure, of course.
·加拿大新闻 全新一代奔驰GLB发布!外挂造型更大气,搭载悬浮式三联屏
·加拿大新闻 盟友变敌人?!美国新版国家安全战略何以影响加拿大?
·加拿大新闻 多伦多妇女被追讨逾2.5万元社会福利 申诉专员轰市府不公平对
·加拿大新闻 [更新] 豪雨导致河水暴涨阿波斯福940户接疏散警报
·加拿大新闻 突发:加拿大央行维持利率不变!明年可能加息?老百姓一片哀
·中文新闻 书评:乔治·帕克的《紧急情况》提供了美国未来的反乌托邦愿
·中文新闻 霍克斯伯里比赛、周日比赛、比赛技巧和周日霍克斯伯里会议的








