Error creating SSL certificate on Win10

Hi all

A few days ago my PlexConnect just totally stopped working.

I am running Windows 10 on my PC with my Plex server, connected to my ATV2 through trailers. I’ve never had a problem until now. I am 100% sure my DNS etc is all correct, everything is as it should be, so I decided to start again. I deleted all my Plex and began going through the process again, following this guide : https://github.com/iBaa/PlexConnect/wiki/Install-Guide

I am getting stuck at the SSL certificate creation point, I just keep getting errors in my cmd prompt.
I downloaded the Win32 lite version as instructed, I installed to my C: drive (my OS drive)
This is the error I get when running the first string in the cmd prompt :

C:>C:\OpenSSL-Win32\bin\openssl.exe req -new -nodes -newkey rsa:2048 -out C:\trailers.pem -keyout C:\trailers.key -x509 -days 7300 -subj “/C=US/CN=trailers.apple.com” -config C:\OpenSSL-Win32\bin\openssl.cfg
Can’t open C:\OpenSSL-Win32\bin\openssl.cfg for reading, No such file or directory
11536:error:02001002:system library:fopen:No such file or directory:crypto\bio\bss_file.c:72:fopen(‘C:\OpenSSL-Win32\bin\openssl.cfg’,‘r’)
11536:error:2006D080:BIO routines:BIO_new_file:no such file:crypto\bio\bss_file.c:79:
Generating a RSA private key
…+++++
…+++++
writing new private key to ‘C:\trailers.key’

unable to find ‘distinguished_name’ in config
problems making Certificate Request
11536:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:crypto\conf\conf_lib.c:270:


So none of the 3 cmd strings I am meant to run are working, therefore no certificates are being created and I cannot get past this step.

I’m begging someone to help me and tell me what I am doing wrong.

Thanks in advance.

Ross

Thanks for reporting your problem.

I’ve gone trough the steps described in the wiki, and apparently OpenSSL’s latest version (1.1.1a) is installed in a different folder:

  1. C:\Program Files\OpenSSL-Win64 for 64-bit windows
  2. C:\Program Files (x86)\OpenSSL-Win32 for 32-bit windows

You need to install OpenSSL from http://slproweb.com/download/Win32OpenSSL_Light-1_0_2q.exe. I have updated the wiki with this info.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.