From 51962ffc173e2455d0a885f2bd6625f3a5d8fa2c Mon Sep 17 00:00:00 2001 From: Muaz Ahmad Date: Mon, 13 May 2024 12:14:48 +0500 Subject: [PATCH] Make cert into CA since needed for android --- basic_configs/ssl/local_cert.cnf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/basic_configs/ssl/local_cert.cnf b/basic_configs/ssl/local_cert.cnf index 359ec0d..d66ff4a 100644 --- a/basic_configs/ssl/local_cert.cnf +++ b/basic_configs/ssl/local_cert.cnf @@ -12,8 +12,10 @@ localityName = Karachi commonName = 272254864.xyz [v3_req] -basicConstraints = CA:FALSE -keyUsage = nonRepudiation, digitalSignature, keyEncipherment +basicConstraints = CA:true +subjectKeyIdentifier = hash +keyUsage = digitalSignature, keyEncipherment +extendedKeyUsage = serverAuth, clientAuth subjectAltName = @alt_names [alt_names]