This article is for ubuntu admins only
Before you start - make sure you have acquired a .pfx certificate for the proper domain as well as the password for the .pfx certificate.
Make sure the domain points to the external domain of the DMCS. If the DMCS is not available on the internet - make sure that you have a local DNS service to validate the certificate
Upload certificate to server: scp -i ~/.ssh/yourpem.pem Downloads/certifickatname.pfx adminling@dmccsdoamin/home/myfolder
Find location of certs folder: docker volume inspect certs
Move pfx file from home dir to certs dir: mv /home/myfolder/certficatename.pfx /mnt/docker/volumes/certs/_data/
Go to certs dir: cd /mnt/docker/volumes/certs/_data/
Rename pfx file: mv cdertifikatname.pfx cert.pfx
Unpack pfx: openssl pkcs12 -in cert.pfx -nocerts -out key.pem
Unpack cert: openssl pkcs12 -in cert.pfx -clcerts -nokeys -out cert.pem
Unpack key: openssl rsa -in key.pem -out server.key
Rename cert: mv cert.pem fullchain.pem
Rename key: mv server.key privkey.pem