How to create a certificate in pfx format?

It’s quite simple. We need a certificate in pem format with key and ca certificate. Certificate can be with CA in one file. A command to do everything is: openssl pkcs12 -export -in cert+ca.pem -inkey private-key.key -out mycert.pfx In the end, we should enter a password for the pfx file.

Permission denied while connecting to upstream

The error message from the above entry concerns the Nginx webserver and php-fpm. The problem is related to SElinux. By default, the webserver is not allowed to connect to the network. To fix this problem, you need to issue the commands below: setsebool -P httpd_can_network_connect 1 setsebool -P httpd_can_network_relay 1 That’s all. Enjoy with Nginx, … Dowiedz się więcej