2018-02-28 15:48:38 +00:00
|
|
|
#!/usr/bin/env bash
|
2022-05-10 10:06:48 +00:00
|
|
|
# Copyright (C) 2018 The Qt Company Ltd.
|
|
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
2018-02-28 15:48:38 +00:00
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
# package ssl
|
|
|
|
|
|
|
|
# install ssl_certs and test data
|
|
|
|
su $USER -c "mkdir -p -m 700 ~/ssl-certs/private"
|
2019-01-25 21:48:29 +00:00
|
|
|
su $USER -c \
|
|
|
|
"cp $CONFIG/ssl/${test_cert:-qt-test-server-cert.pem} ~/ssl-certs/qt-test-server-cert.pem"
|
2018-02-28 15:48:38 +00:00
|
|
|
su $USER -c "cp $CONFIG/ssl/private/qt-test-server-key.pem ~/ssl-certs/private/"
|