Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-27-2005, 07:53 AM
|
#1
|
Member
Registered: Jan 2004
Posts: 409
Rep:
|
creating a secure certificate
Hello guys
I want to create a certificate for an Apache with SSL enabled.
I know that this can be done using the openssl program but i don't know what excactly options or switches should i use to create it.
Could you help me a little ?
|
|
|
01-27-2005, 09:45 AM
|
#2
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
At the bottom of this tutorial are links to a good FAQ about making your own certificates.
|
|
|
01-28-2005, 03:53 AM
|
#3
|
Member
Registered: Dec 2003
Location: The Netherlands
Distribution: Slackware
Posts: 171
Rep:
|
Do keep in mind that the commands from the bottom of that FAQ will result in a self-signed certificate. This is probably what you want initially as it allows you to test SSL functionality, but it is not 100% secure since you issued it to yourself, effectively. For a production environment you'd want to get a certificate from a certificate authority such as Thawte or VeriSign.
Last edited by [GOD]Anck; 01-28-2005 at 07:39 AM.
|
|
|
01-28-2005, 04:58 AM
|
#4
|
Member
Registered: Jan 2004
Posts: 409
Original Poster
Rep:
|
What i have to win if i pay for a certificate?
Longer private key (difficult to crack it?) ?
|
|
|
01-28-2005, 07:32 AM
|
#5
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
I don't think the certificate is any different from one you can make yourself. What you are really paying for is a third party endorsement that you are who you say you are.
|
|
|
01-28-2005, 07:37 AM
|
#6
|
Member
Registered: Dec 2003
Location: The Netherlands
Distribution: Slackware
Posts: 171
Rep:
|
The difference would be in how much people trust your site rather than in how hard it is to crack. With self-signed certificates, basically what you are doing is saying "hey look at me, i'm trustworthy!" and since pretty much anyone can do this it doesn't pack as much of a punch as when your certificate is signed by a global certificate authority. Wether it's worth the money depends on how important the customer's trust is, obviously. 
|
|
|
01-28-2005, 09:32 AM
|
#7
|
Member
Registered: Jan 2004
Posts: 409
Original Poster
Rep:
|
I see.
Could i make a public key of 2048 bits ? (i supposed that it could be cracked much harder, couln't it)
|
|
|
01-28-2005, 09:44 AM
|
#8
|
Member
Registered: Dec 2003
Location: The Netherlands
Distribution: Slackware
Posts: 171
Rep:
|
Yes, you could specify the number of bits along with the algorithm to use. So if you're following the FAQ, replace "rsa" with "rsa:2048", that should do it. How much more secure that really is compared to the already pretty secure 1024 bit default I couldn't tell you. 
|
|
|
All times are GMT -5. The time now is 07:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|