I did a PWA and I ran all the tests in the browser and everything went as expected, but when I test on my smartphone it does not ask for authorization to send notifications and also does not ask to be added on the smartphone home screen.
One of the problems I had was the lack of an HTTPS protocol, but I managed one locally and put it on the server.
But Chrome does not recognize it as valid, it gets HTTPS red in the address bar, but PWA opens normally and as I said above does the expected actions even with HTTPS being red, and on the smartphone it does not do any of the expected actions.
Could this be because of the certificate I generated myself?