Fiware Wilma PEP ssl protocol error at curl

161 views Asked by At

I have at Fiware Lab a virtual machine deployed with Context Broker + Wilma Pep proxy. PEP is configured with https enabled at config.js config.https = { enabled =true...}

Executing the command below I can see "https" process related to the node.js pep process

[centos@orion ~]$ sudo netstat -t -l -p

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   

tcp        0      0 *:https                     *:*                         LISTEN      1492/node     

But when I try to execute the following curl command I get the following message

curl -v -i -X GET https://public-ip-at-fiware-lab:443/v2/entities -H "X-Auth-Token: auth-token-from-idm-keyrock"

curl: (35) Unknown SSL protocol error in connection to public-ip-at-fiware-lab:443

What is missing in the configuration of PEP?

How can I debug what is happening in fiware-lab machine?

How can I test the SSL with curl command?

Any tip is wellcome!

Many thanks in advance

1

There are 1 answers

2
nacho tekniker On

Finally I created a new certificate for the machine and the curl command works.