This is a self reminder incase I have to replace the certificate again in 3 years and start googling again.
Step 1 - generate key
Step 2 - genrate CSR
Step 3 - get cert from cert authority
Step 4 - extract PCKS7/12 to cert, leave all intermediates inside the 1 file.
Step 5 - replace the old cert with above
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is a self reminder incase I have to replace the certificate again in 3 years and start googling again.
Step 1 - generate key
Step 2 - genrate CSR
Step 3 - get cert from cert authority
Step 4 - extract PCKS7/12 to cert, leave all intermediates inside the 1 file.
Step 5 - replace the old cert with above
Good reminder!
PS: Never lose the self-generated private key!