SSL: Unexpected result from API

Dear all,

after upgrade to HA 32.1 I’m not able to do login anymore using SSL. after dissable SSL I’m can do login without any problem.

any clue?

Of course, i have review all the post with similar situation with no luck.

thanks in advance for your support

Jose

Are you using Let’s Encrypt? Could your certificates have expired?

Yes, using Let’s Encrypt… the expirantion day should not be a problem, i had to do a fresh install this morning, so certificates will expire in 90 days.

Thanks for your answers

Fixed…I forgot to apply: sudo chmod -R 777 /etc/letsencrypt

Thanks all you

1 Like

For the record: don’t ever do this. This is wrong.

1 Like

Of course you are correct, but it would help if you included the proper way to do it - please update when you have the time; I’m sure it will help a lot of people, including me!

The proper way is to manage ownership & permissions properly, to the principle of least privilege. 777 is literally granting maximum privileges to everyone, which is may be fine as long as you have no other users and none of the programs you run have any bugs (spoilers: they do). Sorry, but a full explanation of Linux permissions would take more time than I am willing to spend. I am happy to give a hand up, not a hand out, so here are a couple links about why 777 is bad as a starter:


Not looking for a ‘hand out’ just an exchange of info. You know, the reason we assemble here.

Thanks for the links.

1 Like