How to update the Revenue Secure certificate in the eCOC linux Server

Created by Ray McDonnell, Modified on Thu, 27 Mar, 2025 at 4:21 PM by Ray McDonnell

  1. Copy the new certificate to eCoC server, for example:
    1. /tmp/catherine1.p12.bac
  2. Backup the current certificate
    1. cp /home/ecoc/app/appl/V1/Truststore/catherine1.p12 /home/ecoc/app/appl/V1/Truststore/catherine23.p12
  3. Copy the latest certificate (from step 1) to the production location
    1. cp /tmp/catherine1.p12.bac /home/ecoc/app/appl/V1/Truststore/catherine1.p12
  4. Access mySQL database
    1. mysql -u ecoc -p v1_coc (supply the ecoc user password)
  5. List existing certificates by performing the query below
    1. SELECT * FROM tbl_cert;
  6. Update the password for certificate id 272
    1. UPDATE tbl_cert SET certPass='new_password' WHERE certId=272;
  7. Restart both applications
    1. sudo service coc-camel restart
    2. sudo service v1 restart

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article