file name is invalid or missing uploading SLO certificate
Hi, we're having a hard time setting our web app as the service provider and okta as identity provider. When we upload our certificate required for SLO, it always gives us an error 'File name is invalid or missing.'. We created our certificate by following this steps in the link provided. Your help will really be appreciated. Thank you.
Thank you for reaching out to Okta Support, my name is Marian and I will be assisting you with this case. The reason you are receiving that eror is that the certificate you're using has the extension .cert. Modify it to .cer and try again. If you encounter any other issues, please open a ticket with okta support and we will be more than happy to assist. Thank you
Hi Ms. Marian,
I’m still having the same error 'File name is invalid or missing.'. Can you check the way I’m creating my certificate if there it is ok? Below is the code snippet I used on windows powershell.
New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname "emrsn.org"
$pwd = ConvertTo-SecureString -String "Password" -Force -AsPlainText
Export-PfxCertificate -cert cert:\localMachine\my\69D00CB81D7DEAB2B3B155C172FDB26E7FF0B6B0 -FilePath root-authority.pfx -Password $pwd
Export-Certificate -Cert cert:\localMachine\my\69D00CB81D7DEAB2B3B155C172FDB26E7FF0B6B0 -FilePath root-authority.cer
Jerome Lamadrid Fami | Applications Developer
Emerson Commercial & Residential Solutions | 10/F SM Cyber West, EDSA cor West Avenue, Barangay Bungad, Diliman, Quezon City 1105 Philippines