![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Nginx
如锋
金融IT
展开
-
nginx: [emerg] cannot load certificate SSL: error:0200100D:system library:fopen:Permission denied:fo
换了SSL Cert之后,Nginx无法启动,发生如下错误。nginx: [emerg] cannot load certificate “/etc/nginx/ssl/test.crt”: BIO_new_file() failed (SSL: error:0200100D:system library:fopen:Permission denied:fopen(’/etc/nginx/ss...原创 2020-04-11 10:34:46 · 36492 阅读 · 5 评论 -
Nginx - LDAP Authentication
比Nginx - Basic Authentication稍微高级一点点的LDAP认证。Install http_auth_request_modulesudo ./configure --with-http_stub_status_module --with-http_ssl_module --with-http_auth_request_modulesudo makesudo make...原创 2019-10-20 08:30:10 · 976 阅读 · 0 评论 -
Nginx - Basic Authentication为Kibana增加登录验证功能
文章目录Install NginxStartup NginxInstall httpd-toolsReload Nginx ConfigureChange Kibana ConfigureVerificationReferenceInstall NginxDownload package from https://nginx.org/download/nginx-1.16.1.tar.gzt...原创 2019-10-12 22:48:01 · 633 阅读 · 0 评论 -
nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module
Nginx加ssl_certificate配置后报这个错。将相应模块安装回来即可。$ sudo nginx -s reloadnginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf:38修改前$ sudo nginx -Vnginx vers...原创 2019-09-18 21:01:53 · 8081 阅读 · 2 评论 -
Nginx - 使用OpenSSL自签名证书配置HTTPS
OpenSSL生成证书创建Key创建签名请求(CSR)移除口令签署证书(或发给CA机构认证)# Generate an RSA keyopenssl genrsa -des3 -out Server.key 1024# Creating Certificate Signing Requests# 需要输入组织信息,留空输入点(.),而非直接回车(用缺省值)openssl r...原创 2019-10-07 10:06:01 · 727 阅读 · 0 评论