Ansuel / tch-nginx-gui

Modified file to apply to a stock technicolor GUI
GNU General Public License v3.0
346 stars 52 forks source link

nginx SSL Certificate Error on Startup #247

Closed kevdagoat closed 6 years ago

kevdagoat commented 6 years ago

nginx will not start unless I remove the SSL config in the config file.

nginx: [emerg] BIO_new_file("/etc/nginx/server.crt") failed (SSL: error:02001002:lib(2):func(1):reason(2):fopen('/etc/nginx/server.crt','r') error:2006D080:lib(32):func(109):reason(128))

FrancYescO commented 6 years ago

gui version? modem? when this happened?

kevdagoat commented 6 years ago

Dont know :) GUI still not working (TG799)

FrancYescO commented 6 years ago

what you mean with gui still not working? you said that removing the file will fix..

kevdagoat commented 6 years ago

https://github.com/Ansuel/tch-nginx-gui/issues/240

FrancYescO commented 6 years ago

@kevdagoat i think this issue is strictly connected to some wrong configuration or something corrupted on your device (probably during some try to get telstra gui working) ... i suggest you to do a factory reset and start from scratch as is pretty hard to understand what's wrong

kevdagoat commented 6 years ago

Would have done that in the first place but it is my main modem that provides:

I can wait.

On 4 Oct 2018, at 6:58 am, Francesco M notifications@github.com wrote:

@kevdagoat i think this issue is strictly connected to some wrong configuration or something corrupted on your device (probably during some try to get telstra gui working) ... i suggest you to do a factory reset and start from scratch as is pretty hard to understand what's wrong

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Ansuel commented 6 years ago

can you try to restore nginx bin ?

cp /rom/usr/sbin/nginx /usr/sbin/

and restart nginx?

kevdagoat commented 6 years ago

Ok. Will try.

On 5 Oct 2018, at 12:08 am, Ansuel Smith notifications@github.com wrote:

can you try to restore nginx bin ?

cp /rom/usr/sbin/nginx /usr/sbin/

and restart nginx?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

kevdagoat commented 6 years ago

Nope: nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/nginx/server.key") failed (SSL: error:0906D06C:lib(9):func(109):reason(108):Expecting: ANY PRIVATE KEY error:140B0009:lib(20):func(176):reason(9))

Ansuel commented 6 years ago

ummm it looks like you have corrupted key... try remove it and restart the modem

kevdagoat commented 6 years ago

By now it just needs a factory reset :(

Sent from my iPhone

On 8 Oct 2018, at 10:53 pm, Ansuel Smith notifications@github.com wrote:

ummm it looks like you have corrupted key... try remove it and restart the modem

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.