Had a funny thing happen today. Plexconnect suddenly stopped working. Restarted a few things, no dice. Checked logs…oddly silent. Sitting scratching my head I suddenly wondered how long I had been running plexconnect, which made me check my self signed ssl cert. Sure enough… expired! In fact, had expired just an hour before I had tried to watch something.
:))
Thought they where valid for 10 years, well done.
I believe initially the were only valid for a year:
PlexConnect/assets/certificates/certificates.txt at master · iBaa/PlexConnect · GitHub <----Needs an update to 10 years so users are not confused?
openssl req -new -nodes -newkey rsa:2048 -out trailers.pem -keyout trailers.key -x509 -days 365 -subj “/C=US/CN=trailers.apple.com”
openssl x509 -in trailers.pem -outform der -out trailers.cer && cat trailers.key >> trailers.pem
Now its 10yrs:
Trailers - hostname is trailers.apple.com
certificate good for 10 years
openssl req -new -nodes -newkey rsa:2048 -outform pem -out ./assets/certificates/trailers.cer -keyout ./assets/certificates/trailers.key -x509 -days 3650 -subj "/C=US/CN=trailers.apple.com"
cat ./assets/certificates/trailers.cer ./assets/certificates/trailers.key >> ./assets/certificates/trailers.pem