Difference between revisions of "Certificate Authority Custom"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
$sst = ( Get-ChildItem roots.sst ) | $sst = ( Get-ChildItem roots.sst ) | ||
$sst| Import-Certificate -CertStoreLocation Cert:\LocalMachine\Root | $sst| Import-Certificate -CertStoreLocation Cert:\LocalMachine\Root | ||
+ | ``` | ||
+ | |||
+ | |||
+ | ``` | ||
+ | $rootCa = Get-ChildItem -Path cert:\LocalMachine\My | Where-Object {$_.Subject -eq "CN=My Awesome Root CA"} | ||
``` | ``` |
Revision as of 22:55, 5 December 2023
Debian
curl https://ccadb.my.salesforce-sites.com/mozilla/IncludedRootsPEMTxt?TrustBitsInclude=Websites -o /etc/ssl/certs/ca-certificates.crt
Then mount the volume to
/etc/ssl/certs/ca-certificates.crt
extraVolumeMounts: [] extraVolumes: []
/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
Windows
cd c:\certs\ certutil.exe -generateSSTFromWU roots.sst $sst = ( Get-ChildItem -Path C:\certs\roots.sst ) $sst = ( Get-ChildItem roots.sst ) $sst| Import-Certificate -CertStoreLocation Cert:\LocalMachine\Root
$rootCa = Get-ChildItem -Path cert:\LocalMachine\My | Where-Object {$_.Subject -eq "CN=My Awesome Root CA"}