So im trying to set up plex on my newly build PC and when i go to generate the keys in CMD... i get this permission denied message (when i try to generate the first trailer key)
C:\OpenSSL-Win32\bin\openssl.exe req -new -nodes -newkey rsa:2048 -out C: railers.pem -keyout C: railers.key -x509 -days 7300 -subj "/C=US/CN=trailers.apple.com" -config C:\OpenSSL-Win32\bin\openssl.cfg
Result is:
C:\Users\spacemanps>C:\OpenSSL-Win32\bin\openssl.exe req -new -nodes -newkey rsa:204
8 -out C: railers.pem -keyout C: railers.key -x509 -days 7300 -subj "/C=US/CN=
trailers.apple.com" -config C:\OpenSSL-Win32\bin\openssl.cfg
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
Loading 'screen' into random state - done
Generating a 2048 bit RSA private key
.....................................................+++
...............................+++
writing new private key to 'C: railers.key'
C: railers.key: Permission denied
1796:error:02001005:system library:fopen:Input/output error:.\crypto\bio\bss_fil
e.c:398:fopen('C: railers.key','wb')
1796:error:20074002:BIO routines:FILE_CTRL:system lib:.\crypto\bio\bss_file.c:40
0:
drewbie
February 22, 2015, 8:22am
2
Windows has special permissions on c:\ so try changing that to c: emp\
Not to sure on windows but also maybe run cmd prompt with administrator privileges as well?
roidy
February 22, 2015, 5:20pm
4
i get this permission denied message (when i try to generate the first trailer key)
As walhman said you may need to run the command prompt as Administrator, you can do this by right clicking the "Commmand Prompt" icon and selecting "Run as Administrator"
Crabito
February 22, 2015, 7:11pm
5
are you running cmd as administrator?
start / search programs, type cmd , right click on cmd icon , run as administrator