logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Export self-signed SSL certificate for use in Chrome
Author
Khatharr



Joined: 29 Nov 2023
Posts: 1

PostPosted: Wed 29 Nov '23 18:45    Post subject: Export self-signed SSL certificate for use in Chrome Reply with quote

Hello. I have an apache2 server running on a Raspberry Pi on my local network. It's serving an instance of Adminer along with a few miscellaneous files, all for my personal use. I decided to expose the port so I can log in with remotely, but I'm not keen on the idea of sending login information through clear-text, so I set up HTTPS by following this guide: https://techexpert.tips/apache/enable-https-apache/

That all seems to have worked, and now Apache is redirecting HTTP to HTTPS and using a self-signed certificate. The only problem is that my browsers don't trust the cert. What I'm wondering is if there's a way to export the certificate from Apache or its config files and add it to the store in my web browsers. Alternatively, if there's a better way to accomplish this then I'm all ears.

Any advice appreciated. Thanks for your time.
Back to top
Otomatic



Joined: 01 Sep 2011
Posts: 212
Location: Paris, France, EU

PostPosted: Thu 30 Nov '23 18:55    Post subject: Reply with quote

Hi,

All browsers, not just Chrome, give a security alert if you tile a self-signed certificate.

It is possible to override this alert, depending on the browser:

-- Mozilla Firefox
Warning: probable security risk
Advanced button: Error code: SEC_ERROR_UNKNOWN_ISSUER
Validate: Accept risk and continue.

-- Opera
Your connection is not private
NET::ERR_CERT_AUTHORITY_INVALID
Validate: Help me understand
Validate: Continue on site name (dangerous)

-- Chrome
Your connection is not private
NET::ERR_CERT_AUTHORITY_INVALID
Validate : Advanced settings
Validate : Continue to site site name (dangerous)

-- Edge
Your connection is not private
NET::ERR_CERT_AUTHORITY_INVALID
Validate : Advanced
Continue to site name (not secure)

Of course, in principle, this will only work if the 'Force strict https mode' or similar option is not enabled in the browser settings.
Back to top


Reply to topic   Topic: Export self-signed SSL certificate for use in Chrome View previous topic :: View next topic
Post new topic   Forum Index -> Apache