LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2022, 09:11 AM   #1
kitkat0981
LQ Newbie
 
Registered: Oct 2022
Posts: 1

Rep: Reputation: 0
need help with SSL


hi,

I have setup a ubuntu CA server and created a CA root (server is pki.nelsonlab.local) which i loaded in the trusted root certificate of my windows 10 station


I also created and signed a csr for a web server with subject alternative as web1.nelsonlab.local


I added the instructions for the apache default virtual host as:
SSLEngine on
SSLCertificateKeyFile /etc/ssl/web1.nelsonlab.local.key
SSLCertificateFile /etc/ssl/web1.nelsonlab.local.crt

then restarted the web server

When going to the web page https://web1.nelsonlab.local i am still getting a certificate error and dont understand why this is happening.


everything to me looks fine i just don't understand why it's still giving me cert error.

Can anyone explain why this is?
 
Old 10-21-2022, 01:08 PM   #2
michaelsavage
Member
 
Registered: Apr 2019
Distribution: Linux Mint
Posts: 59

Rep: Reputation: 11
It would be more helpful if you type the error that you are getting.
 
Old 10-21-2022, 01:10 PM   #3
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by kitkat0981 View Post
When going to the web page https://web1.nelsonlab.local i am still getting a certificate error and dont understand why this is happening.
As said, what is the error.
And, what is in Apache log and error log?
 
Old 10-21-2022, 03:34 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Did you follow a guide?
Is this a self signed certificate?
Did you enable ssl
Did you verify there are not any syntax errors?
sudo apache2ctl configtest

https://www.digitalocean.com/communi...n-ubuntu-18-04
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsFTPd - SSL connection and dynamic SSL ports toxoplasme Linux - Server 11 08-22-2008 10:50 PM
need help with apach virtual hosts ssl/non ssl sites danthach Linux - Networking 3 05-25-2006 06:40 AM
apache2 - ssl : connection via ssl interrupted ldp Linux - Software 0 10-02-2005 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration