We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f8ad4c commit 3ea14a4Copy full SHA for 3ea14a4
1 file changed
README.md
@@ -20,6 +20,18 @@ Transport Layer Security for securing data payloads in Objective-C. An easy way
20
- Add `ObjectiveTLS` folder to your project
21
- Import header (`#import "ObjectiveTLS.h"`)
22
23
+### Generate X.509 RSA Key Pair
24
+- Run the following commands to generate a personal key pair for testing.
25
+- The files you care about are `public_key.der` and `private_key.p12`
26
+
27
+```shell
28
+openssl req -x509 -out public_key.der -outform der -new -newkey rsa:1024 -keyout private_key.pem -days 3650
29
+openssl x509 -inform der -outform pem -in public_key.der -out public_key.pem
30
+openssl pkcs12 -export -in public_key.pem -inkey private_key.pem -out private_key.p12
31
+```
32
33
34
35
Encryption
36
---------
37
0 commit comments