ikev2 client on IOS

Hi,
I have configured ikev2 on mikrotik. I can connect from windows 11, from android using strogswan. On iphone I get an error: “peer id does not match certificate”. What should I put on remote id on vpn config in IOS? I tried with common name of server, client, ca certificate but still errors shows. I also tried to put public ip address of vpn server but still same error.
The only way to make it work is by setting remote ID on identity tab from auto to ignore.

https://ibb.co/Z6hGbGY
https://ibb.co/4scfbdT
https://ibb.co/1fSGXPS