SBN - Copying Certs

From The TinkerNet Wiki
Revision as of 03:14, 11 July 2020 by Tinker (talk | contribs) (Created page with "To copy certs for a machine from your proxy server (Replace '''Machine.Domain.TLD''' with the proper name for your machine...) (&, of course, '''user''' & '''webserver''' may...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To copy certs for a machine from your proxy server (Replace Machine.Domain.TLD with the proper name for your machine...) (&, of course, user & webserver may need adjusting...)

  1. Install certbot on the machine you're putting the certs onto.
    • sudo apt in all certbot

    • s
  • First, make sure you can SSH into the proxy server from your proxy server
    • ssh Machine
    • then exit when you've succeeded (this tells CertGetter how to get there...)
  • Then you can use scp to copy the certs.
    • sudo scp -r /etc/letsencrypt/live/Machine.Domain.TLD user@Machine:~
  • Then ssh back into the proxy server & move the certs into their proper location
    • sudo mv Machine.Domain.TLD /etc/letsencrypt/live/