LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-11-2013, 12:47 AM   #1
canopus69
Member
 
Registered: Sep 2013
Posts: 72

Rep: Reputation: Disabled
SSL Certificates - ca.key, ca.csr & ca.crt questions


Following commands will generate ca.key and ca.csr.

# openssl genrsa -out ca.key 2048
# openssl req -new -key ca.key -out ca.csr

Please correct me as required :

Above two can be sent to Certificate Authority to generate a ca.crt.

This ca.crt can be applied into the Linux server or load balancer.

Say this ca.crt was applied in Linux, is there a way to re-export this applied ca.crt to load balancer or is there no such thing ?

I still haven’t got the full concept of SSL Certificates.

Last edited by canopus69; 10-11-2013 at 01:01 AM. Reason: typo
 
Old 10-11-2013, 01:52 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well there is no "export" here. It's just some files on a box. you can put them wherever you feel like. They are not tied in any way to the machine they were created on.
 
Old 10-11-2013, 05:40 AM   #3
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
No need to send key file to the CA. You just need to send CSR, copy and paste CSR content to the CA site and you will get certificate after payment.

Thanks
 
Old 10-11-2013, 08:47 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939
Start by carefully reading the SSL documentation. Especially about "self-signed certificates," because all certificates are cryptographically identical and ultimately are issued in the same way. The only difference is who issues them ... and with the very carefully inoculated "trust my brand-name" marketing approach. (Does your grandma even know what "trusted authorities" her iPad will accept? No. But if the site doesn't generate a pop-up "security warning," it must be 'secure.')

But, I digress.

You can go through the entire process, on your own machine, of creating a CSR and then signing it. You can be your own "certificate authority," and, mind you, that is what a great many corporations do with regard to their security-conscious internal systems.
 
Old 10-11-2013, 03:20 PM   #5
canopus69
Member
 
Registered: Sep 2013
Posts: 72

Original Poster
Rep: Reputation: Disabled
Well the question is, whether there is export/import of certificates exists in Linux like in Windows ?
 
Old 10-11-2013, 03:28 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no, that's NOT the question. I already said there is no export. it's just some files in a directory for the most part. Java keystores are an exception, bu tthen that's Java, not Linux.
 
Old 10-13-2013, 07:33 PM   #7
canopus69
Member
 
Registered: Sep 2013
Posts: 72

Original Poster
Rep: Reputation: Disabled
Thank you all.
 
  


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
Apache - Replacing the .crt & .key file rajaniyer123 Linux - Software 1 06-12-2012 04:18 AM
Cron warns me ca-certificates.crt is about to expire. padeen Slackware 16 12-02-2011 08:15 PM
SSL. Have crt and csr, but no key. deathsfriend99 Linux - Server 2 08-20-2010 10:33 PM
SSL gd_bundle.crt?? L1nuxn00b703 Linux - Newbie 1 01-20-2010 10:20 PM
SSL certificates the-chains Linux - Software 0 11-15-2004 07:12 PM

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

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