mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-08 23:07:10 +02:00
As described here: https://lists.wald.intevation.org/pipermail/openvas-commits/2017-August/029526.html Backport r29475. * src/gvmd.c (fork_connection_internal): Use the client cert to connect back to ourself, because the server cert may not be marked for such usage, which would result in a key usage violation.
14 lines
651 B
Diff
14 lines
651 B
Diff
--- openvas-manager-7.0/src/openvasmd.c 2017-08-30 21:03:46 UTC (rev 29475)
|
|
+++ openvas-manager-7.0/src/openvasmd.c 2017-08-30 21:25:35 UTC (rev 29476)
|
|
@@ -661,8 +661,8 @@
|
|
{
|
|
if (openvas_server_new (GNUTLS_CLIENT,
|
|
CACERT,
|
|
- SCANNERCERT,
|
|
- SCANNERKEY,
|
|
+ CLIENTCERT,
|
|
+ CLIENTKEY,
|
|
&client_connection->session,
|
|
&client_connection->credentials))
|
|
exit (EXIT_FAILURE);
|