My SSL expired - yes I know, I have been busy/lazy when not busy and then realised!
With the expired SSL, I was able to login. Using the following guide to change the SSL:
domain.com:8006/pmg-docs/pmg-admin-guide.html#_ssl_certificate
Following the guide, I have included the various certs:
Did a restart
This then lead to me unable to login throwing the following error:
"Login failed. Please try again"
I then did the following without success either:
Any help or thoughts would be much appreciated.
With the expired SSL, I was able to login. Using the following guide to change the SSL:
domain.com:8006/pmg-docs/pmg-admin-guide.html#_ssl_certificate
Code:
openssl req -newkey rsa:2048 -nodes -keyout wildcard.domain.key -out wildcard.domain.csr
cat wildcard.domain.key wildcard.domain.crt wildcard.domain.ca-bundle >/etc/pmg/pmg-api.pem
systemctl restart pmgproxy
Following the guide, I have included the various certs:
Code:
-----BEGIN RSA PRIVATE KEY-----
(Your Private Key (domain.key)
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
(Your Primary SSL certificate: domain.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Intermediate certificate: commercial_ca.crt)
-----END CERTIFICATE-----
Did a restart
Code:
sudo systemctl restart pmgproxy.service
This then lead to me unable to login throwing the following error:
"Login failed. Please try again"
I then did the following without success either:
- Deleted pmg-csrf.key
- Duplicated the pmg-api.pem to pmg-tls.pem
- Created another user with SUDO privileges
- Rebooted instance
Any help or thoughts would be much appreciated.
Last edited: