From: Andrei Pavel Date: Wed, 7 May 2025 08:53:14 +0000 (+0300) Subject: Hammer: Remove openssl command altogether X-Git-Tag: Kea-2.4.2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f2aa7700fbe0f03f42b3eefc0869f0665afeaf2;p=thirdparty%2Fkea.git Hammer: Remove openssl command altogether --- diff --git a/hammer.py b/hammer.py index 43a24eb808..27d8796278 100755 --- a/hammer.py +++ b/hammer.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright (C) 2018-2023 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2018-2025 Internet Systems Consortium, Inc. ("ISC") # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -1278,13 +1278,6 @@ def _configure_mysql(system, revision, features): if 'tls' in features: if not os.path.isdir(cert_dir): execute('sudo mkdir -p {}'.format(cert_dir)) - # Some systems, usually old ones, might require a cerain PKCS format - # of the key. Try to regenerate it here, but don't stop if it fails. - # If the key is wrong, it will fail later anyway. - exit_code = execute('openssl rsa -in src/lib/asiolink/testutils/ca/kea-server.key ' \ - '-out src/lib/asiolink/testutils/ca/kea-server.key', raise_error=False) - if exit_code != 0: - log.warning(f'openssl command failed with exit code {exit_code}, but continuing...') for file in [ './src/lib/asiolink/testutils/ca/kea-ca.crt', './src/lib/asiolink/testutils/ca/kea-client.crt',