Hi, I'm attempting to put the Secure Server onto a Digitalocean droplet I 
bought so I can have my Bob instance accessible from anywhere (pc or mobile)

Here's what I've done so far (sorry for the weird formatting, its just a 
copy paste from my TW notes) following as best I can Jed's instructions 
here https://github.com/OokTech/SecureWikiServer :

steps I took (after connecting to droplet in terminal via "ssh root@(my 
droplet address)"
   
   - git clone https://github.com/OokTech/SecureWikiServer.git
   - (from digital ocean link) openssl req -newkey rsa:2048 -nodes -keyout 
   domain.key -x509 -days 365 -out domain.crt
   - (dialog from above)
      - (country code)
      - (province)
      - (city)
      - 
      - "." for leave blank
      - Dave (for "common name")
      - (myemail)@gmail.com
   - Success!: *ls showed*:
      - SecureWikiServer domain.crt domain.key node_modules
   - Further instructions:

Update certPath and serverKeyPath in the Local.toml file in the Config folder 
to point to the certificate and key files.
You will have to create the Local.toml file.
Never edit Config.toml, settings in Local.toml override Config.toml so just 
make the same entry in Local.toml if you want to change a default setting.


   - cd SecureWikiServer <http://127.0.0.1:8080/#SecureWikiServer>
   - cd Config
   - cp Config.toml Local.toml
   - nano Local.toml
   - changed certificate and key paths to ./domain.crt and ./domain.key (they 
   were the only files in the main folder after the keys were made as per the 
   D.O. command above
   - If needed generate a public-private key pair for token signing (I 
   assume that's needed, so...)

Okay, now I'm stuck.  I've never done anything like this before (I'm happy 
to have been able to figure out how to SSH into the droplet in the first 
place).

How does one generate a public-private key pair for token signing?


Thanks,
- Dave


PS I'd assume that the entire process would be the same for installing on a 
raspberry pi, is that correct?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/400c3f8c-7a12-41b7-b27b-23abcfac6dda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to