runtests: rewrite genserv.sh in Perl

To remove POSIX shell as an extra dependency for runtests.

Also fix to `chmod 0600` the `.pem` file (was: `.prm`), and apply it
_before_ writing the keys.

Follow-up to 44341e736a #16824
Closes #16858
This commit is contained in:
Viktor Szakats 2025-03-28 14:33:02 +01:00
parent ad99067d92
commit 7be2c421bf
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
6 changed files with 119 additions and 120 deletions

View file

@ -395,7 +395,6 @@ Details via CMake
- `CLANG_TIDY`: `clang-tidy` tool used with `CURL_CLANG_TIDY=ON`. Default: `clang-tidy`
- `PERL_EXECUTABLE`: Perl binary used throughout the build and tests.
- `SH_EXECUTABLE`: POSIX shell binary used throughout the build (for generating test certificates).
## Dependency options (libraries)