In Progress CPANEL-39993 - Manage Service SSL Certificates > iOS Push for Mail wrong hostname

Operating System & Version
Almalinux 8.5
cPanel & WHM Version
100.0.9

Spirogg

Well-Known Member
Feb 21, 2018
696
151
43
chicago
cPanel Access Level
Root Administrator
Use this interface to manage SSL certificates for services other than Apache.
  • Daemons (cpsrvd, Dovecot, and Exim)
  • iOS Mail Push Notifications (APNs)
I had setup a new server with AlmaLinux 8.5 and cPanel a couple weeks ago.

- first server was server1.hostname.tld
-new server i named server2.hostname.tld
then after transferring domains over from old server CentOS7 & cPanel
I reverted back to my original hostname server1.hostname.tld.

and now when I go to
  • Daemons (cpsrvd, Dovecot, and Exim)
I see the correct hostname (server1.hostname.tld) with certificates.
but when i go to

  • iOS Mail Push Notifications (APNs)
Under Certificate Properties - I see server2.hostname.tld
how can I change the server2.hostname.tld to the correct one
- server1.hostname.tld and reset the certificate



Thanks for anyone's help

Kind Regards,
Spiro
 
Last edited by a moderator:

Spirogg

Well-Known Member
Feb 21, 2018
696
151
43
chicago
cPanel Access Level
Root Administrator

Spirogg

Well-Known Member
Feb 21, 2018
696
151
43
chicago
cPanel Access Level
Root Administrator
Alright - I've confirmed this behavior and created case CPANEL-39993 with our developers. If you're signed in to our ticket system you can follow along with that here:

.
@cPRex
you mentioned a workaround for the certificate, but what about changing the hostname ?
Workaround
From the "iOS Mail Push Notifications" tab you can manually install the preferred certificate.

Question?
  • If I update the Certificate from the hostname certificate (copy and paste in that section), will the hostname change or no ?
Thanks
Spiro
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
10,360
1,631
363
cPanel Access Level
Root Administrator
Oooh that's a good question - I didn't test that part...let me check!

<tests>

No, apparently it's not that easy. I get the following error when I try that:

Code:
The SSL certificate update failed.
iOS Push for Mail     (XID 3bf7pj) The certificate must be issued by Apple.
I'll remove that workaround section for now.
 
  • Love
  • Like
Reactions: Spirogg and Danamon

Spirogg

Well-Known Member
Feb 21, 2018
696
151
43
chicago
cPanel Access Level
Root Administrator
Oooh that's a good question - I didn't test that part...let me check!

<tests>

No, apparently it's not that easy. I get the following error when I try that:

Code:
The SSL certificate update failed.
iOS Push for Mail     (XID 3bf7pj) The certificate must be issued by Apple.
I'll remove that workaround section for now.
@cPRex any update on this how can I change the hostname ? it still shows server2. mydomain . com instead of server1. mydomain . com

Thanks
Spiro
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
10,360
1,631
363
cPanel Access Level
Root Administrator
In the short term, the mail team is going to see if this is something that is fixable without completely redoing that area of the system, as Apple has made some changes on their end. In the long term, though, I would expect that feature to get removed as it has very minimal support even from Apple at this point.
 

Spirogg

Well-Known Member
Feb 21, 2018
696
151
43
chicago
cPanel Access Level
Root Administrator
In the short term, the mail team is going to see if this is something that is fixable without completely redoing that area of the system, as Apple has made some changes on their end. In the long term, though, I would expect that feature to get removed as it has very minimal support even from Apple at this point.
ok so if they remove it, then this won't allow us to get IOS email and notifications from Cpanel ? ?
 

Spirogg

Well-Known Member
Feb 21, 2018
696
151
43
chicago
cPanel Access Level
Root Administrator
That's correct - the push notification feature would not work.

You can see more details on how Apple essentially stopped this service in our documentation here: How to Set Up iOS Push Notifications | cPanel & WHM Documentation
quick question though will this fix my issue where the wrong hostname is being used ?

@cPRex my host name is server1.mydomain .com
but in this area it has server2.mydomain .com

will this get fixed in this area ? cause my hostname is not correct. or will those fields get removed in an upcoming upgrade ? and that hostname will be deleted from WHM
will this cause any issues with emails since that had server2. instead of server1.

please advise, maybe the team can figure out what file I can edit to make that change in that field please.


- I LIKE TO HAVE THING CORRECT SO THEY WON'T CAUSE ANY ISSUES ELSEWHERE :)

thanks
Spiro
 

ITHKBO

Member
Jun 23, 2020
22
29
13
Netherlands
cPanel Access Level
Root Administrator
That's correct - the push notification feature would not work.

You can see more details on how Apple essentially stopped this service in our documentation here: How to Set Up iOS Push Notifications | cPanel & WHM Documentation
Just saw this thread and the mention of the APN article and a small but important detail that I don't see mentioned is that the port specified in the documentation 2195 is deprecated and unsupported since march 2021
* Legacy ports 2195 and 2196 are deprecated and will not be supported after March 2021.

Published Date: November 20, 2020
TCP port 5223 to communicate with APNs.
TCP port 443 or 2197 to send notifications to APNs.*
 
Last edited: