AFAIK, you cannot get the configuration profile from the device. I also tried using jailbroken phone, but did not find a quick solution. I think Apple secured it. Otherwise, anyone can restore the installed configuration profile and change it and reinstall it.
The answer provided by @obuseme is for creating a profile. You can get them as mentioned by them. Configuration profiles are different from training profiles.
source
share