Execute Response Actions with Microsoft O365 (certificate)
Configure the action connector for Microsoft O365 (certificate).
Last updated
Was this helpful?
Was this helpful?
# Create certificate
$mycert = New-SelfSignedCertificate -DnsName "app.radiantsecurity.ai" -CertStoreLocation "cert:\CurrentUser\My" -NotAfter (Get-Date).AddYears(10) -KeySpec KeyExchange
# Export certificate to .pfx file
$mycert | Export-PfxCertificate -FilePath mycert.pfx -Password (Get-Credential).password
# Export certificate to .cer file
$mycert | Export-Certificate -FilePath mycert.ceropenssl genrsa -out key.pem 2048openssl req -new -sha256 -key key.pem -out csr.csropenssl x509 -req -in csr.csr -signkey key.pem -out certificate.pem -days 3650 -sha256openssl pkcs12 -inkey key.pem -in certificate.pem -export -out cert.pfx