From: Joann Mõndresku Date: Wed, 15 May 2024 19:11:14 +0000 (+0300) Subject: You need the keys to the castle as well. X-Git-Url: https://git.based.quest/%24%24URL?a=commitdiff_plain;h=3bcb1df520a7cd3122520e0951b3daf661abbfa8;p=web-hugo.git You need the keys to the castle as well. --- diff --git a/content/posts/reverse-engineering-a-mobile-app-protobuf-api.md b/content/posts/reverse-engineering-a-mobile-app-protobuf-api.md index 67c9120..5fa4b32 100644 --- a/content/posts/reverse-engineering-a-mobile-app-protobuf-api.md +++ b/content/posts/reverse-engineering-a-mobile-app-protobuf-api.md @@ -124,6 +124,7 @@ EOF openssl genrsa -des3 -out myCA.key 2048 openssl req -x509 -new -nodes -key myCA.key -sha256 -days 1825 -out myCA.pem # Create a CSR and lets have the new CA sign it +openssl genrsa -out auxbrain.key 2048 openssl req -new -key auxbrain.key -out auxbrain.csr -nodes openssl x509 -req -in auxbrain.csr -CA myCA.pem -CAkey myCA.key -CAcreateserial -out auxbrain.crt -days 825 -sha256 -extfile auxbrain.ext # You now have myCA.pem - the public certificate of your root CA, auxbrain.key - the private key for your webserver, auxbrain.pem - the public cert for your webserver.