Skip to content

Commit d04da34

Browse files
committed
r Readme
1 parent 0f392b3 commit d04da34

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,34 @@ Lumen application key
7070

7171
### Gateway variables
7272

73+
#### PRIVATE_KEY
74+
75+
Put your private RSA key in this variable
76+
77+
You can generate the key with OpenSSL:
78+
79+
```bash
80+
$ openssl genrsa -out private.key 4096
81+
```
82+
83+
Replace new line characters with \n:
84+
```bash
85+
awk 1 ORS='\\n' private.key
86+
```
87+
7388
#### PUBLIC_KEY
7489

7590
Put your public RSA key in this variable
7691

77-
#### PRIVATE_KEY
92+
Extract public key using OpenSSL:
93+
```bash
94+
$ openssl rsa -in private.key -pubout > public.key
95+
```
7896

79-
Put your private RSA key in this variable
97+
Replace new line characters with \n:
98+
```bash
99+
awk 1 ORS='\\n' public.key
100+
```
80101

81102
#### GATEWAY_SERVICES
82103

0 commit comments

Comments
 (0)