[GH-ISSUE #476] mobileconfig profile fails to install on iPhone #445

Closed
opened 2026-03-02 08:19:00 +03:00 by kerem · 2 comments
Owner

Originally created by @mohammadr3z on GitHub (May 8, 2025).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/476

Hi,
I’ve set up the VPN server using this Docker image successfully, and everything seems to be working fine on the server side. However, when I try to install the generated .mobileconfig file on my iPhone, I get an error saying:

“Profile Installation Failed. The profile is invalid.”

Steps I took:
1. Deployed the server using your instructions on a VPS.
2. Used .mobileconfig file.
3. Transferred the file to my iPhone and tried to install it.

Is there something I’m missing or any recent issue with iOS compatibility?

Thanks in advance!

Originally created by @mohammadr3z on GitHub (May 8, 2025). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/476 Hi, I’ve set up the VPN server using this Docker image successfully, and everything seems to be working fine on the server side. However, when I try to install the generated .mobileconfig file on my iPhone, I get an error saying: “Profile Installation Failed. The profile is invalid.” Steps I took: 1. Deployed the server using your instructions on a VPS. 2. Used .mobileconfig file. 3. Transferred the file to my iPhone and tried to install it. Is there something I’m missing or any recent issue with iOS compatibility? Thanks in advance!
kerem closed this issue 2026-03-02 08:19:00 +03:00
Author
Owner

@hwdsl2 commented on GitHub (May 8, 2025):

@mohammadr3z Hello! The .mobileconfig file should work. Are you using the Alpine based Docker image, and what is your Docker host's OS version and iOS version?

Please try copying the .mobileconfig file from the container again, to make sure the file isn't corrupted during transfer.

<!-- gh-comment-id:2862766326 --> @hwdsl2 commented on GitHub (May 8, 2025): @mohammadr3z Hello! The .mobileconfig file should work. Are you using the Alpine based Docker image, and what is your Docker host's OS version and iOS version? Please try copying the .mobileconfig file from the container again, to make sure the file isn't corrupted during transfer.
Author
Owner

@hwdsl2 commented on GitHub (May 9, 2025):

@mohammadr3z Closing this issue, but if you have new information please feel free to continue to comment here.

<!-- gh-comment-id:2866463196 --> @hwdsl2 commented on GitHub (May 9, 2025): @mohammadr3z Closing this issue, but if you have new information please feel free to continue to comment here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-ipsec-vpn-server#445
No description provided.