No Valid Certificate error

Hi I’ve been trying to port to iOS for a day or 2 without luck. I have done everything in UE Guides, using iphone packager in Engine to generate initialisation certificate and pair keys. Have got an Apple developer account and set up App ID, Device UID, and downloaded provision. But am always getting a not valid error when trying to compile in iOS. (I have a windows UE 4.22 build)

If you uncheck both the certificate and the provision, do any of them turn green?

Does your shipping/development option choice in project settings match the kind of cert and provisioning profile you’re trying to use? That’s the main one that can go wrong and cause it to display in red.