mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Add dns config example and add it to integration tests
* Add action for starting integration tests * Configure nginx to resolve DNS record * Sync itest.yml and docs/scripts/Readme.md resolve #100
This commit is contained in:
parent
c4deef74eb
commit
5577a0b088
9 changed files with 79 additions and 17 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
cd ~/${FOLDERNAME}
|
||||
pushd ~/${FOLDERNAME}
|
||||
|
||||
certtool --generate-privkey --outfile testserver-key.pem
|
||||
|
||||
|
|
@ -33,9 +33,11 @@ certtool --generate-certificate --load-privkey testserver-key.pem --outfile test
|
|||
|
||||
cat testserver.crt rootca-cert.pem >bundle.crt
|
||||
|
||||
SSL_CERTIFICATE=$(
|
||||
export SSL_CERTIFICATE=$(
|
||||
echo "$PWD/bundle.crt"
|
||||
)
|
||||
SSL_CERTIFICATE_KEY=$(
|
||||
export SSL_CERTIFICATE_KEY=$(
|
||||
echo "$PWD/testserver-key.pem"
|
||||
)
|
||||
|
||||
popd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue