Cb Response: Error when creating custom Web UI certificate: invalid number of arguments in "ssl_certificate" directive
book
Article ID: 289608
calendar_today
Updated On:
Products
Carbon Black EDR (formerly Cb Response)
Issue/Introduction
nginx: [emerg] invalid number of arguments in "ssl_certificate" directive in /etc/cb/nginx/conf.d/cb.conf:66
Environment
- Cb Response Server: 5.x and Higher
Cause
- /etc/cb/nginx/conf.d/cb.conf file contains a typo in the line referencing the "ssl_certificate" parameter.
Resolution
- Open /etc/cb/nginx/conf.d/cb.conf file to edit
- Scroll to line number referenced in message
- Add semicolon (;) to end of line for "ssl_certificate" parameter
Additional Information
- Message in /var/log/cb/nginx/startup.log may also reference other parameters. Here are examples to ensure semi-colon (;) is at the end of each line:
- ssl_certificate /etc/cb/certs/exmpl.crt;
- ssl_certificate_key /etc/cb/certs/exmpl.com.key;
- ssl_ca_certificate /etc/cb/certs/exmpl.CA.crt;
Feedback
thumb_up
Yes
thumb_down
No