Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1854

Setup local SSL certificate for HTTPS in Google Chrome

$
0
0

I got a Laravel App running on an Apache server. I've configured VirtualHost to locally access the app with URL:

https://www.infoalquiler.com.ar/

Despite the app is working properly, I'm getting a "Not secure" message in the browser, like this:

Browser

I've tried to generate a certificate with OpenSSL, like this:

leandro@Leandro:~/Proyectos/infoalquiler$ sudo openssl req -x509 -nodes -days 365  -newkey rsa:2048  -keyout /etc/apache2/ssl/apache.key  -out /etc/apache2/ssl/apache.crt....+.+..................+..+++++++++++++++++++++++++++++++++++++++*.......+...+++++++++++++++++++++++++++++++++++++++*......+........+....+......+.........+........+......+.........++++++..+.......+.....+++++++++++++++++++++++++++++++++++++++*....+.+......+...+..+.+..+...............+.......+...+..+.+++++++++++++++++++++++++++++++++++++++*.....+...+............+..................+......+...+.+.................+....+...+.....+...............+...............+.......+........+......+..........+.....+....+......+......+...+..+....+.....+....+.....+.+..+...+....+.................+...+...+...+.+......+..............+.........+....+...............+..+.........+.+...+.....++++++-----You are about to be asked to enter information that will be incorporatedinto your certificate request.What you are about to enter is what is called a Distinguished Name or a DN.There are quite a few fields but you can leave some blankFor some fields there will be a default value,If you enter '.', the field will be left blank.-----Country Name (2 letter code) [AU]:ARState or Province Name (full name) [Some-State]:BALocality Name (eg, city) []:CABAOrganization Name (eg, company) [Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common Name (e.g. server FQDN or YOUR name) []:Leandro CaplanEmail Address []:leandrocaplan@gmail.com

Then,I've tried to import the certificate to Chrome like this:

Import

So then, I got a window asking for a password like this:

Pass

The page is still showing the "Not secure" warning.

Any suggestion for solving this?

Thanks and best regards!

Leandro


Viewing all articles
Browse latest Browse all 1854

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>