LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 10-13-2023, 08:36 PM   #1
Hiroyuki Hirohata
LQ Newbie
 
Registered: Oct 2023
Posts: 1

Rep: Reputation: 0
[SOLVED] LFS12.0 -- 'make-ca -g' unable to get certdata.txt


Hello,
I have setup LFS 12.0 and then trying to setup certificates related stuff.
Stuck at getting local certificate...
Installation is in the following sequence.
openssl-3.1.2
libtasn1-4.19.0
p11-kit-0.25.0
make-ca-1.12
however I encountered the following error in the middle of make-ca setup, and stuck.
Code:
root@lfs:/sources/make-ca-1.12# /usr/sbin/make-ca -g
Checking for new version of certdata.txt...done.
Unable to get revision from server! Exiting.
the below is the log content
Code:
root@lfs:/tmp/tmp.gUL2krMSrf# cat certdata.txt.log 
CONNECTED(00000003)
---
Certificate chain
 0 s:C = US, ST = California, L = San Francisco, O = Mozilla Foundation, CN = hg.mozilla.org
   i:C = US, O = DigiCert Inc, CN = DigiCert Global G2 TLS RSA SHA256 2020 CA1
   a:PKEY: rsaEncryption, 4096 (bit); sigalg: RSA-SHA256
   v:NotBefore: Sep 19 00:00:00 2023 GMT; NotAfter: Sep 18 23:59:59 2024 GMT
 1 s:C = US, O = DigiCert Inc, CN = DigiCert Global G2 TLS RSA SHA256 2020 CA1
   i:C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert Global Root G2
   a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
   v:NotBefore: Mar 30 00:00:00 2021 GMT; NotAfter: Mar 29 23:59:59 2031 GMT
---
no peer certificate available
---
No client certificate CA names sent
Server Temp Key: ECDH, prime256v1, 256 bits
---
SSL handshake has read 3574 bytes and written 678 bytes
Verification error: unable to get local issuer certificate
---
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
This TLS version forbids renegotiation.
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 20 (unable to get local issuer certificate)
---
root@lfs:/tmp/tmp.gUL2krMSrf#
I once built LFS 11.3/BLFS and successfully setup, but this time I may have missed something.
Can anyone point me where I am wrong?
Thanks
Hiroyuki

Last edited by Hiroyuki Hirohata; 10-27-2023 at 06:32 PM.
 
Old 10-17-2023, 06:45 AM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
I had the same problem I upgraded to version 1.13 and re-installed which fixed it.
 
2 members found this post helpful.
Old 10-19-2023, 05:26 AM   #3
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
If this has solved your problem or you have found another way please post and then mark this thread SOLVED
 
Old 12-10-2023, 09:15 AM   #4
rsmereka
Member
 
Registered: Jul 2003
Location: Southwestern Ontario, Canada
Distribution: LFS, OpenBSD, UBPorts, MX, Gentoo
Posts: 85
Blog Entries: 3

Rep: Reputation: 17
Thumbs up

Thanks Keith,

I am also building BLFS and encountered the same error when executing:
Code:
/usr/sbin/make-ca -g
I took your advice and downloaded the new 1.13 make-ca package and re-ran the instructions from the BLFS book.
 
Old 01-25-2024, 02:24 AM   #5
wrinklytech
LQ Newbie
 
Registered: Aug 2022
Posts: 3

Rep: Reputation: 0
Thanks from me too Keith. Re-ran the make-ca install with v1.13 and all good.
 
  


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
[SOLVED] read txt file into an array and make a second txt file zimbot Linux - General 12 09-05-2015 01:39 PM
cut first 10 lines of file master.txt and paste in ab1.txt and so on yogeshkumkar Programming 4 08-31-2011 07:23 AM
Copy the contents of a txt file to other txt files (with similar names) by cp command Aquarius_Girl Linux - Newbie 7 07-03-2010 12:54 AM
cat onelinefile.txt >> newfile.txt; cat twofile.txt >> newfile.txt keep newline? tmcguinness Programming 4 02-12-2009 06:38 AM
How can read from file.txt C++ where can save this file(file.txt) to start reading sam_22 Programming 1 01-11-2007 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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