LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Create self-signed SSL (https://www.linuxquestions.org/questions/linux-security-4/create-self-signed-ssl-4175736697/)

Bala451987 05-03-2024 11:14 PM

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!

smallpond 05-04-2024 08:12 AM

How do you plan to convince the browsers to accept your certificate if it is outside of PKI?

TB0ne 05-04-2024 08:19 AM

Quote:

Originally Posted by Bala451987 (Post 6499754)
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.

Bala451987 05-05-2024 07:54 AM

Quote:

Originally Posted by smallpond (Post 6499798)
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."

Bala451987 05-05-2024 07:58 AM

Quote:

Originally Posted by TB0ne (Post 6499800)
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.

boughtonp 05-05-2024 08:07 AM


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


TB0ne 05-05-2024 11:02 AM

Quote:

Originally Posted by Bala451987 (Post 6499956)
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.

sundialsvcs 05-05-2024 08:18 PM

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.

Bala451987 05-07-2024 07:28 AM

Quote:

Originally Posted by boughtonp (Post 6499959)
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.

Bala451987 05-07-2024 07:28 AM

Quote:

Originally Posted by sundialsvcs (Post 6500057)
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.

TB0ne 05-07-2024 07:31 AM

Quote:

Originally Posted by Bala451987 (Post 6500273)
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.

JJJCR 05-11-2024 03:10 AM

Quote:

Originally Posted by Bala451987 (Post 6500273)
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

Bala451987 05-11-2024 07:25 AM

Quote:

Originally Posted by JJJCR (Post 6501048)
outside of 90 days, you can try this link below:
SSL CERT

Will check this out.

jefro 05-11-2024 03:22 PM

https://www.a2hosting.com/kb/cpanel/...ate-in-cpanel/ might be an example.

Bala451987 05-12-2024 08:00 AM

Quote:

Originally Posted by jefro (Post 6501169)

Thanks bro. It would be greatly helpful. I will look in to it.


All times are GMT -5. The time now is 07:11 PM.