1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 18:15:42 +01:00

Fix integration tests setup script

* Change from calling the web interface to create the folders to
   using the `/api/create` so it works even if the web interface is
   turned off.
This commit is contained in:
Bernhard Reiter 2022-07-26 11:14:40 +02:00
parent dce0a9b51f
commit 490fe4a589
No known key found for this signature in database
GPG key ID: 2B7BA3BF9BC3A554

View file

@ -102,7 +102,7 @@ create_service_document = true
' | sudo tee --append /etc/csaf/config.toml ' | sudo tee --append /etc/csaf/config.toml
# Create the Folders # Create the Folders
curl https://localhost:8443/cgi-bin/csaf_provider.go/create --cert-type p12 --cert ~/devca1/testclient1.p12 --insecure curl https://localhost:8443/cgi-bin/csaf_provider.go/api/create --cert-type p12 --cert ~/devca1/testclient1.p12 --insecure
popd popd