I spent 2 days on this problem.
After running xcode's Product -> Clean build forder, the certificate appeared in General -> VPN & Device Management on my iPhone.
The problem occurred in iOS 17.2.1 version and was resolved.
I hope my method helps you guys