LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-03-2024, 11:14 PM   #1
Bala451987
Member
 
Registered: Aug 2023
Posts: 54

Rep: Reputation: 0
Angry Create self-signed SSL


Hey everyone,

I'm interested in creating my own SSL certificate for my website. The site is hosted by a private provider (Hostingraja). While I've found plenty of tutorials on generating self-signed SSL certificates, I haven't come across any that specifically address how to make it available in cPanel, especially with a private service provider like me. Can anyone provide guidance or resources on how to achieve this? Thanks in advance for your help!
 
Old 05-04-2024, 08:12 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,153

Rep: Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265
How do you plan to convince the browsers to accept your certificate if it is outside of PKI?
 
Old 05-04-2024, 08:19 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,711

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by Bala451987 View Post
Hey everyone,

I'm interested in creating my own SSL certificate for my website. The site is hosted by a private provider (Hostingraja). While I've found plenty of tutorials on generating self-signed SSL certificates, I haven't come across any that specifically address how to make it available in cPanel, especially with a private service provider like me. Can anyone provide guidance or resources on how to achieve this? Thanks in advance for your help!
Have you tried asking your provider??? You claim to have found plenty of tutorials on how to create a self-signed certificate, so doing that should be no problem. If you have specific issues with your provider, ask them...you're paying for support.

And I put "cpanel self signed certificate" into a search-engine, and got a LOT of results and how-tos....did you try that??? You rarely, if ever, bother to follow up on your posts, and don't seem to do much basic research before posting, and are essentially asking us to do your searching for you.

Last edited by TB0ne; 05-04-2024 at 08:20 AM.
 
Old 05-05-2024, 07:54 AM   #4
Bala451987
Member
 
Registered: Aug 2023
Posts: 54

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by smallpond View Post
How do you plan to convince the browsers to accept your certificate if it is outside of PKI?

"That's precisely why I'm seeking guidance here on how to insert the certificate into cPanel hosting."
 
Old 05-05-2024, 07:58 AM   #5
Bala451987
Member
 
Registered: Aug 2023
Posts: 54

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Have you tried asking your provider??? You claim to have found plenty of tutorials on how to create a self-signed certificate, so doing that should be no problem. If you have specific issues with your provider, ask them...you're paying for support.

And I put "cpanel self signed certificate" into a search-engine, and got a LOT of results and how-tos....did you try that??? You rarely, if ever, bother to follow up on your posts, and don't seem to do much basic research before posting, and are essentially asking us to do your searching for you.
1. I did not try with my hosting support.
2. I've watched tutorials that explain how to generate self-signed certificates from a Linux machine locally.Did not try yet.
3. I haven't asked anyone to search on my behalf. As a beginner, I have some questions based on what I couldn't find answers to.
 
Old 05-05-2024, 08:07 AM   #6
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555

Why do you think you need a self-signed certificate? cPanel supports Let's Encrypt.

 
Old 05-05-2024, 11:02 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,711

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by Bala451987 View Post
1. I did not try with my hosting support.
Why not??
Quote:
2. I've watched tutorials that explain how to generate self-signed certificates from a Linux machine locally.Did not try yet.
So you haven't actually done anything, and haven't asked your provider for help, but are somehow stuck and are asking us for help???
Quote:
3. I haven't asked anyone to search on my behalf. As a beginner, I have some questions based on what I couldn't find answers to.
You don't display any effort of your own, so what else are we supposed to think??? You ask about how to do this, then say you haven't done anything to move forward, haven't looked up anything (of which LOTS is easily found), haven't contacted support....so how could you not find answers?? You've done no research, that's why you can't find answers.

The search term you were given has a LOAD of how-tos do to exactly what you're after. Your hosting provider can ALSO tell you how to do it, since you're PAYING FOR SUPPORT. boughtonp also looked up and gave you a search term. Exactly how much do we need to do for you?? This seems to be a recurring theme in your threads.
 
Old 05-05-2024, 08:18 PM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,679
Blog Entries: 4

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
There are plenty of tutorials which show you how to create self-signed certificates. "No need for one more." Just try generating one. You should also be able to easily find your way to uploading one somewhere. However, be aware that no one other than "yourself" will be prepared to accept it, in the case of (say ...) a "public website."

"LetsEncrypt" busted-open the former monopoly on issuing "trusted" certificates. They do it for free. Which is exactly why nearly every website today is "https:". Your website host ought to, by now, provide seamless support for this: possibly obtaining the certificate for you, then automatically renewing it without your further intervention. Very nice.

"Self-signed certificates" do have their proper place – such as "OpenVPN." The participating nodes verify one another by checking that the presented credentials are signed by an authority which they have been told to trust ... which is, "you." They can do this using only the "public" certificate, which all of them have been given.
 
Old 05-07-2024, 07:28 AM   #9
Bala451987
Member
 
Registered: Aug 2023
Posts: 54

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by boughtonp View Post
Why do you think you need a self-signed certificate? cPanel supports Let's Encrypt.

I'm currently using Let's Encrypt for my SSL certificates. However, I'm in search of a solution that provides certificates for longer durations, ideally around 6 months. With Let's Encrypt, the certificates need to be renewed every 90 days.
 
Old 05-07-2024, 07:28 AM   #10
Bala451987
Member
 
Registered: Aug 2023
Posts: 54

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sundialsvcs View Post
There are plenty of tutorials which show you how to create self-signed certificates. "No need for one more." Just try generating one. You should also be able to easily find your way to uploading one somewhere. However, be aware that no one other than "yourself" will be prepared to accept it, in the case of (say ...) a "public website."

"LetsEncrypt" busted-open the former monopoly on issuing "trusted" certificates. They do it for free. Which is exactly why nearly every website today is "https:". Your website host ought to, by now, provide seamless support for this: possibly obtaining the certificate for you, then automatically renewing it without your further intervention. Very nice.

"Self-signed certificates" do have their proper place – such as "OpenVPN." The participating nodes verify one another by checking that the presented credentials are signed by an authority which they have been told to trust ... which is, "you." They can do this using only the "public" certificate, which all of them have been given.
Got it.
 
Old 05-07-2024, 07:31 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,711

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by Bala451987 View Post
I'm currently using Let's Encrypt for my SSL certificates. However, I'm in search of a solution that provides certificates for longer durations, ideally around 6 months. With Let's Encrypt, the certificates need to be renewed every 90 days.
Again: *CONTACT YOUR HOSTING PROVIDER*

You seem to be ignoring everything you're told. AGAIN: you can generate your own certificate (you're just now telling us about LetsEncrypt) for as long as you want and AGAIN, it needs to be from a trusted entity, otherwise you'll get certificate warnings (again, as you've been told before). Here are your options:
  • Contact your provider and have them generate a certificate
  • Purchase a certificate
  • Generate one yourself
Pick one.
 
Old 05-11-2024, 03:10 AM   #12
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,162

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Lightbulb

Quote:
Originally Posted by Bala451987 View Post
I'm currently using Let's Encrypt for my SSL certificates. However, I'm in search of a solution that provides certificates for longer durations, ideally around 6 months. With Let's Encrypt, the certificates need to be renewed every 90 days.
outside of 90 days, you can try this link below:
SSL CERT
 
Old 05-11-2024, 07:25 AM   #13
Bala451987
Member
 
Registered: Aug 2023
Posts: 54

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JJJCR View Post
outside of 90 days, you can try this link below:
SSL CERT
Will check this out.
 
Old 05-11-2024, 03:22 PM   #14
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,008

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
https://www.a2hosting.com/kb/cpanel/...ate-in-cpanel/ might be an example.
 
Old 05-12-2024, 08:00 AM   #15
Bala451987
Member
 
Registered: Aug 2023
Posts: 54

Original Poster
Rep: Reputation: 0
Lightbulb

Quote:
Originally Posted by jefro View Post
Thanks bro. It would be greatly helpful. I will look in to it.
 
  


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
LXer: Create a SELF-SIGNED SSL Certficate in Linux LXer Syndicated Linux News 0 09-17-2020 04:21 AM
SSL - Signed vs non-Signed wh33t Linux - Security 8 06-20-2014 12:59 PM
how to create signed (not self signed) certificate for Apache ? dlugasx Linux - Server 4 12-16-2011 10:08 AM
Apache 2.2.3 SSL ignores self-signed certificate nshewmaker Linux - Server 3 03-27-2007 06:18 PM
How do I create a self signed SSL certificate? mongoose Linux - Software 2 04-15-2003 06:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:03 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