Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 005f49e
  • /
  • Attic
  • /
  • testca
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:452558bfc64b013716e8193595d352c5ac08b4b9
directory badge Iframe embedding
swh:1:dir:7f7b006d021dda591d7e9ea8894137ae0b85b7b4
testca
#!/bin/sh

set -e

PERL="$1"

if test "$OSTYPE" = msdosdjgpp; then
    PATH="../apps\;$PATH"
else
    PATH="../apps:$PATH"
fi
export PATH

export SSLEAY_CONFIG OPENSSL

/bin/rm -fr demoCA

SSLEAY_CONFIG="-config CAss.cnf"
OPENSSL="`pwd`/../util/opensslwrap.sh"

$PERL ../apps/CA.pl -newca </dev/null

SSLEAY_CONFIG="-config Uss.cnf"
$PERL ../apps/CA.pl -newreq

SSLEAY_CONFIG="-config ../apps/openssl.cnf"
yes | $PERL ../apps/CA.pl -sign

$PERL ../apps/CA.pl -verify newcert.pem

/bin/rm -fr demoCA newcert.pem newreq.pem

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top