Snorby / snorby

Ruby On Rails Application For Network Security Monitoring
Other
1k stars 226 forks source link

SSL ECDSA certificate support - nginx passenger #395

Open Aqualie opened 9 years ago

Aqualie commented 9 years ago

Nginx 1.9.5 HTTPS SSL with ECDSA certificates Phusion_Passenger 5.0.21 Ruby 1.9.3 (Single User Installation)

nginx.conf - snippet: http { passenger_root /home/user/.rvm/gems/ruby-1.9.3-p551/gems/passenger-5.0.21; passenger_ruby /home/user/.rvm/gems/ruby-1.9.3-p551/gems/wrappers/ruby; server { listen 443 ssl server name snorby.localhost;

root /srv/https/ruby/snorby/public; passenger_enabled on; rails_spawn_method smart; rails_env production;

If I try open https://snorby.localhost in my browser I get 403 forbidden, no errors are displayed in production.log or nginx. However if I switch to listen 80 and open http://snorby.localhost the page loads.