From 90c8c6adfa2b8abd1dc328444ad22b9090325b9d Mon Sep 17 00:00:00 2001 From: tb Date: Mon, 8 Jul 2024 06:00:34 +0000 Subject: [PATCH] Adjust regress for SPKAC removal ok jsing --- regress/usr.bin/openssl/appstest.sh | 39 +---------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/regress/usr.bin/openssl/appstest.sh b/regress/usr.bin/openssl/appstest.sh index 84004df9454..572cc73617b 100755 --- a/regress/usr.bin/openssl/appstest.sh +++ b/regress/usr.bin/openssl/appstest.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: appstest.sh,v 1.63 2024/03/03 13:29:19 tb Exp $ +# $OpenBSD: appstest.sh,v 1.64 2024/07/08 06:00:34 tb Exp $ # # Copyright (c) 2016 Kinichiro Inoguchi # @@ -959,43 +959,6 @@ __EOF__ #---------#---------#---------#---------#---------#---------#--------- - # --- Netscape SPKAC operations --- - section_message "Netscape SPKAC operations" - - # server-admin generates SPKAC - - start_message "spkac" - spkacfile=$server_dir/spkac.file - - $openssl_bin spkac -key $genpkey_rsa -challenge hello -out $spkacfile - check_exit_status $? - - $openssl_bin spkac -in $spkacfile -verify -out $spkacfile.out - check_exit_status $? - - spkacreq=$server_dir/spkac.req - cat << __EOF__ > $spkacreq -countryName = JP -stateOrProvinceName = Tokyo -organizationName = TEST_DUMMY_COMPANY -commonName = spkac.test-dummy.com -__EOF__ - cat $spkacfile >> $spkacreq - - # CA signs SPKAC - start_message "ca ... CA signs SPKAC csr" - spkaccert=$server_dir/spkac.cert - $openssl_bin ca -batch -cert $ca_cert -keyfile $ca_key -key $ca_pass \ - -spkac $spkacreq -out $spkaccert > $spkaccert.log 2>&1 - check_exit_status $? - - start_message "x509 ... convert DER format SPKAC cert to PEM" - spkacpem=$server_dir/spkac.pem - $openssl_bin x509 -in $spkaccert -inform DER -out $spkacpem -outform PEM - check_exit_status $? - - #---------#---------#---------#---------#---------#---------#--------- - # --- user1 operations (generate user1 key and csr) --- section_message "user1 operations (generate user1 key and csr)" -- 2.20.1