LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-16-2007, 01:04 AM   #1
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
https: create certificate that does not expire


I try to create a (self signed) certificate that will not expire. Is this possible?
Code:
openssl x509 -req -days -1 -in lbtd_techweb01.csr \
-signkey lbtd_techweb01.key -out lbtd_techweb01.crt
0 for the number of days is not accepted and -1 does what it says (certificate issued today, valid till yesterday )

PS If this fits better in security, can a mod please move it.
 
Old 01-16-2007, 01:51 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I doubt you actually want a certificate that will never expire - what about after you are dead? Why not just set it for 10 years (-days 3650)?
 
Old 01-16-2007, 04:30 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Original Poster
Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
what about after you are dead
That's exactly why Other people might not have any idea how to solve it when it expires.
 
Old 06-21-2018, 04:24 AM   #4
gilad905
LQ Newbie
 
Registered: Jun 2018
Posts: 1

Rep: Reputation: Disabled
Man, after I'm dead I won't care how long it takes other people to solve it. In fact, I might leave it unsolvable, as an enigma for them to remember me by (like the egyptian pyramids or such).
 
Old 06-21-2018, 05:52 AM   #5
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,352

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
I never tried it, but I know it's possible to automate the renewal of certificates with Let's Encrypt.

https://certbot.eff.org/docs/using.h...g-certificates

Here they suggest putting it in cron. You could do the same with a self-signed certificate. Put all the commands you are using in a script, and have it run by cron every now and then.
 
Old 06-21-2018, 07:41 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 15,322
Blog Entries: 9

Rep: Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404Reputation: 4404
Quote:
Originally Posted by gilad905 View Post
Man, after I'm dead I won't care how long it takes other people to solve it. In fact, I might leave it unsolvable, as an enigma for them to remember me by (like the egyptian pyramids or such).
please don't necrobump, esp. if you have nothing constructive to say.
reported.
 
Old 06-22-2018, 06:58 AM   #7
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,931
Blog Entries: 13

Rep: Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052
@gilad905,

Ondoho is correct. Please do not wake up 11 year old threads with nothing to say. While I realize you felt you were adding to the discussion in the last post, please take note of the date of those older posts. The site does warn you about opening threads older than 6 months.

Best Regards, and please do enjoy the LQ site. And we do have an open topics discussion forum over here in Non-Nix/General
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can I retrieve certificate expiry date from an openssl certificate (command line) davee Linux - Security 1 07-21-2006 10:28 AM
How to create OpenSSL certificate for use in IIS 6.0 Pastorino Linux - Security 3 09-23-2005 07:50 AM
https SSL Certificate Expired lothario Linux - Security 1 01-19-2005 09:42 PM
How to create new SSL certificate for apache ?? chuck77 Linux - General 7 05-15-2003 01:16 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 - Server

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

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