Skip to Content
0

SAP HANA Express streaming analytics SSL and certificates

Jan 15 at 02:27 PM

76

avatar image
Former Member

Hi

I have now manage to install SAP HANA express and added the streaming analytics module. I have build my first stream and are able to send "events" with postman. I would like to use the app on my iphone called sensorphone. I know this is created for SAP cloud plattform, but it seem to be possible to also use it on HANA express. sensorphone need to use SSL, so I have enabled SSL on my streaming server. The problem is that I need to change or create a new certificate that use the correct domain name. The one that comes with the installation is using the domain sap.com.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

avatar image
Former Member Jan 15 at 02:29 PM
0

I have tried to replace the files in this location ${STREAMING_HOME}/../cluster/${STREAMING_CLUSTER_NAME}/keys. But without luck.

Share
10 |10000 characters needed characters left characters exceeded
Robert Waywell
Jan 23 at 03:53 PM
0

Hi Peter,

I confirmed that you are updating the cert files in the right location for the SWS. Other than replacing the server.crt and server.key files, the only other step should be to restart the SWS. You should then be able to confirm the SSL connectivity using Postman and an https connection. If you do get errors when attempting to post via Postman, then you would want to look in the streamingserver log for more info.

Share
10 |10000 characters needed characters left characters exceeded
Robert Waywell
Jan 22 at 10:11 PM
0

Hi Peter,

The "sensorphone" app has not been built to work with HANA streaming analytics. A similar app could be built, but in order to publish to a streaming analytics project via REST or websockets the input needs to both be properly addressed and the JSON message needs to follow the expected input format.

I'll need to check on the details for configuring the SSL certificate and get back to you on that part of the question.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 08 at 12:36 PM
0

Thanks Robert for your answers. I will try to replace the certificate and restart the service. Sending Iphone sensor data to our HANA express box will be an awson demo. The plan is to attach the iphone on a car, and track the sensors. So any help regarding the would the very appreciated.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Peter,

I don't have a pre-built example targeting iOS for you, but we do have a web emulator built using HTML/Javascript and posting events via REST or Websockets that may be a useful starting point for you. The downside is that the page is not specifically built for a mobile screen layout, but the code may be useful.

Machine Event Simulator - HANA streaming analytics

0
Former Member

Thanks Robert :-) I will try this next week, and update you on the result.

0