Commit d939d06d authored by Eugen Rochko's avatar Eugen Rochko

Update 2018-06-23_How-to-implement-a-basic-activitypub-server.md

parent 259eb4e6
Pipeline #37 passed with stages
in 0 seconds
......@@ -46,7 +46,7 @@ The most complicated part of this document is the `publicKey` as it involves cry
You can do this using OpenSSL:
openssl genrsa -des3 -out private.pem 2048
openssl genrsa -out private.pem 2048
openssl rsa -in private.pem -outform PEM -pubout -out public.pem
The contents of the `public.pem` file is what you would put into the `publicKeyPem` property. However, JSON does not support verbatim line-breaks in strings, so you would first need to replace line-breaks with `\n` instead.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment