4 $ if f$getsyi("cpu") .ge. 128 then __arch := AXP
5 $ exe_dir := sys$disk:[-.'__arch'.exe.apps]
9 $ CA := [-.certs]testca.pem
12 $ if f$search(T+".1;*") .nes. "" then delete 'T'.1;*
13 $ if f$search(T+".2;*") .nes. "" then delete 'T'.2;*
14 $ if f$search(T+".key;*") .nes. "" then delete 'T'.key;*
17 $ write sys$output "generating certificate request"
19 $ write sys$output "There should be a 2 sequences of .'s and some +'s."
20 $ write sys$output "There should not be more that at most 80 per line"
21 $ write sys$output "This could take some time."
23 $ mcr 'exe_dir'openssl req -config test.cnf -new -out testreq.pem
26 $ write sys$output "problems creating request"
30 $ mcr 'exe_dir'openssl req -verify -in testreq.pem -noout
33 $ write sys$output "signature on req is wrong"