I'm having trouble configuring my SSL to use with nginx. I'm not sure how to solve the problem, is there anyone someone might know the solution or can put me on the right track?
nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/nginx/ssl/test.key") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: ANY PRIVATE KEY error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib)
listen 443 ssl; ssl_certificate /etc/nginx/ssl/test.crt; ssl_certificate_key /etc/nginx/ssl/test.key;
ausearch -m avc -ts today | audit2allow
#============= httpd_t ============== #!!!! This avc is allowed in the current policy allow httpd_t user_home_t:file read;