"Fossies" - the Fresh Open Source Software Archive

Member "hitch-1.7.2/src/tests/test09-wildcard-cert.sh" (29 Nov 2021, 298 Bytes) of package /linux/www/hitch-1.7.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "test09-wildcard-cert.sh": 1.7.0_vs_1.7.2.

    1 #!/bin/sh
    2 
    3 . hitch_test.sh
    4 set -x
    5 start_hitch \
    6     --backend='[hitch-tls.org]:80' \
    7     --frontend="[localhost]:$LISTENPORT" \
    8     "${CERTSDIR}/wildcard.example.com" \
    9     "${CERTSDIR}/default.example.com"
   10 
   11 s_client -servername foo.example.com >s_client.dump
   12 subject_field_eq CN "*.example.com" s_client.dump