Powershell – How to install the certificate automatically after creating the container

When a new container is created using navcontainerhelper, if the -useSSL flag is used, a self-signed certificate is created and the url to the certificate file is retrieved. How to download and install the self-signed certificate after creating the container, using Powershell commands? Like this: $containername = ‘bccontainer’ 
$outputCertFilePath = ‘C:\Temp\’ + $containername + ‘_Certificate.cer’

 […]