file name is invalid or missing uploading SLO certificate Skip to main content
https://support.okta.com/help/answers?id=9062a000000qudpqa0&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Jerome FamiJerome Fami 

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.

Creating our self signed certificate is below
https://technet.microsoft.com/itpro/powershell/windows/pkiclient/new-selfsignedcertificate
Marian ChirvasaMarian Chirvasa (Okta, Inc.)
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
Jerome FamiJerome Fami
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 Thank you. 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 jerome.fami@emerson.com