Format of keys in com.dotcms.staticpublish.listener

13 views
Skip to first unread message

Xander Steinmann

unread,
Mar 8, 2022, 10:44:29 AM3/8/22
to dotCMS User Group
Hi,

I'm trying out the com.dotcms.staticpublish.listener plugin but I can't get it to work. I have generated keys, have set up the SFTP... that all works, but when trying to static push publish using sftp I get the error " Could not read key pair from: [PrivateKeyFileResource]". I've already tried different keys (public/private) in different formats... Does anyone have a working example of what the key should look like? It isn't the following:

-----BEGIN PUBLIC KEY-----
xxx
-----END PUBLIC KEY-----

Kind regards,

Xander
Reply all
Reply to author
Forward
0 new messages