Thanks for posting this. I'm running Sighthound on a Mac, so I thought I'd share the steps that got me up and running on macOS / OS X:
• Rename your certificate. For example, rename "certificate.crt" to "sv.crt"
• Rename your private key. For example, rename "private.key" to "sv.key"
• In the Finder menu bar, click Go > Go to Folder..., and enter "/Library/Application Support/Sighthound Video/web" and click Go
• Copy the renamed "sv.crt" and "sv.key" files to the this folder.
• Next Launch Terminal (Applications > Utility folder) and enter the following commands:
- Code: Select all
cd /Library/Application\ Support/Sighthound\ Video/web
- Code: Select all
openssl x509 -in sv.crt -text -noout -fingerprint | grep SHA1
• You should receive output similar to the following:
- Code: Select all
SHA1 Fingerprint=C8:1F:A7:C8:E3:94:49:CC:FC:8A:95:E0:83:44:2E:C2:D6:1F:34:70
• Keep the Terminal window open... Now we need to hightlight and copy the output (everything after the "=") and save it to a new file named "sv.sha"
NOTE: I ran into issues leaving the fingerprint in that format, so I removed the colons and made the letters lower case (you can do this quickly by pasting in TextEdit then using "Transformations" and "Find > Find and Replace..." from the Edit dropdown menu)
• Enter the following command in Terminal:
- Code: Select all
nano sv.sha
• This launches nano - Nano's ANOther editor, an enhanced free Pico clone.
• Paste the fingerprint text
c81fa7c8e39449ccfc8a95e083442ec2d61f3470 (COMMAND+V), then press CTRL+X (Exit), Y (Save), Return (write file). You should now have the certificate, key, and fingerprint in the proper location.
• Launch Sighthound and test!