CHAT ADMIN PANEL - APNS key and Certificate


How to upload .pem certificate in chat admin panel for PUSH services?. I copied text from .pem and paste it in APNS cerificated textbox, But we are getting exception like text is too long.

Please let me know how to add .pem certficate in chat admin panel for PUSH services.



I followed this ( and I copied and paste the cert, keys in appropriate fields. But I am getting below error.

[DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
Setting default file store to GridFS
{“line”:“120”,“file”:“migrations.js”,“message”:“Migrations: Not migrating, already at version 197”,“time”:{"$date":1596625876114},“level”:“info”}
Using GridFS for custom sounds storage
Using GridFS for custom emoji storage
Browserslist: caniuse-lite is outdated. Please run next command npm update
Updating process.env.MAIL_URL
Exception in callback of async function: Error: ENAMETOOLONG: name too long

➔ ±-----------------------------------------------+
➔ | |
➔ | Rocket.Chat Version: 3.4.2 |
➔ | NodeJS Version: 12.16.1 - x64 |
➔ | MongoDB Version: 4.0.19 |
➔ | MongoDB Engine: mmapv1 |
➔ | Platform: linux |
➔ | Process Port: 3000 |
➔ | Site URL: [local server] |
➔ | ReplicaSet OpLog: Enabled |
➔ | Commit Hash: e5f93d3f5e |
➔ | Commit Branch: HEAD |