I want to setup https in my localhost, In my 1 PC https is successfully got setup but on my 2 PC I getting issue.
When I am executing this command in the terminal
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt
I getting this error.
WARNING: can't open config file: /usr/lib/ssl/openssl.cnf
Unable to load config info from /usr/lib/ssl/openssl.cnf
Anybody has solution for this error?