From 9815ef4f37ce21e1ecdd669288720ceeb0639506 Mon Sep 17 00:00:00 2001 From: blshkv Date: Sun, 31 Mar 2019 00:09:44 +0800 Subject: [PATCH] owtf: fix post install instructions --- net-analyzer/owtf/owtf-2.6.0.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net-analyzer/owtf/owtf-2.6.0.ebuild b/net-analyzer/owtf/owtf-2.6.0.ebuild index 47fcee82b..32c642d10 100644 --- a/net-analyzer/owtf/owtf-2.6.0.ebuild +++ b/net-analyzer/owtf/owtf-2.6.0.ebuild @@ -67,9 +67,9 @@ pkg_postinst() { einfo "emerge --config net-analyzer/owtf-${PV}" einfo einfo "You will also need to create a certificate for the current user using the following commands:" - einfo "mkdir -p ~/.owtf/proxy" - einfo "openssl genrsa -des3 -passout pass:owtf_ca_pass -out ~/.owtf/proxy/ca.key 4096" - einfo "openssl req -new -x509 -days 3650 -subj \"/C=US/ST=Pwnland/L=OWASP/O=OWTF/CN=MiTMProxy\" -passin pass:owtf_ca_pass -key ~/.owtf/proxy/ca.key -out ~/.owtf/proxy/ca.crt" + einfo "mkdir -p ~/.owtf/proxy/{build,certs}/" + einfo "openssl genrsa -des3 -passout pass:owtf_ca_pass -out ~/.owtf/proxy/certs/ca.key 4096" + einfo "openssl req -new -x509 -days 3650 -subj \"/C=US/ST=Pwnland/L=OWASP/O=OWTF/CN=MiTMProxy\" -passin pass:owtf_ca_pass -key ~/.owtf/proxy/certs/ca.key -out ~/.owtf/proxy/certs/ca.crt" einfo einfo "In addition, you might want to change owtf_db_user password in the database (currently empty)" einfo "and adjust ~/.owtf/db.cfg accordingly"