So accourding to SAP NOTE 1946271
the correct CN for your own cert is: "CN=<fully qualified domain name>:<port>"
Port is the HTTPS Port on your local HANA Machine.
Than you have to convert your pse cert store to a p12 key and it could be imported into the XS Admin Trust Store UI as your own key/cert which worked for me.
But now I get this error:
HttpClient.request: request failed. The following error occured: unable to establish [myhanadns] 31007 xsengine 33774 xsa:fts Error fts.test:test_twitter.xsjs(30)connection to 199.16.156.8:443 - internal error code: Secure store initialization failed
Secure store initialization failed
I didn't use a password on my cert store, I don't know if this is the error.
Any SAP Experts?