Skip to content

Instantly share code, notes, and snippets.

View ryanreece's full-sized avatar
✈️

Ryan T. Reece ryanreece

✈️
View GitHub Profile
@ryanreece
ryanreece / upssler4cli.md
Created March 3, 2024 00:38 — forked from plembo/upssler4cli.md
Update SSL certs on Ubiquiti EdgeRouter 4 using the CLI

Manually updating the SSL certificates on the Ubiquiti EdgeRouter 4 using the CLI

Always know how to do... whatever using the cli.

  1. Obtain the server key, server cert and intermediate cert in PEM format. I use letsencrypt.org, and so name my intermediate cert "letsencrypt-chain.crt". The system doesn't care what you use as a filename extension. I usually use ".key" for keys, and ".crt" for certs. In the case of the combo cert I used ".pem" just because...

  2. Combine the server key and cert into a single file (in that order):

$ cat server-key.pem server-cert.pem > _.example.com-combo.pem

You can name things anything you want so long as you make sure the lighttpd uses those names

//
// Created by Nick Vance on 12/4/15.
// Modified by Ryan Reece on 11/14/16.
//
import AVKit
import XCDYouTubeKit
import TVMLKit
class YTPlayerViewController: AVPlayerViewController, AVPlayerViewControllerDelegate {