#4758: Certificate Authority Certs
-------------------------+--------------------------
 Reporter:  bdubbs@…     |       Owner:  blfs-book@…
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  7.6
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+--------------------------

Comment (by bdubbs@…):

 I have created a script so the cert file is available at
 http://anduin.linuxfromscratch.org/sources/other/certdata.txt.  It will be
 updated daily.

 Using that file requires a change to the make-ca.sh script due to a minor
 change in the certdata format.  There is no CVS_ID, so I used the date in
 the change below, but we could probably extract the date of the last
 update from the line:

 <td>Sat Mar 01 03:10:22 2014 -0800 (at Sat Mar 01 03:10:22 2014
 -0800)</td></tr>

 {{{
 -REVISION=$(grep CVS_ID $certdata | cut -f4 -d'$')

 -if [ -z "${REVISION}" ]; then
 -  echo "$certfile has no 'Revision' in CVS_ID"
 -  exit 1
 -fi

 -VERSION=$(echo $REVISION | cut -f2 -d" ")
 +VERSION=$(date +%Y%m%d)
 }}}

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4758#comment:2>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to