I am trying to setup ssl for open source tyk gateway. I googled and found below link to configure ssl:
I generated selfsigned cert as:
|openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes|
|Generating a 4096 bit RSA private key|
|writing new private key to ‘key.pem’|
|You are about to be asked to enter information that will be incorporated|
|into your certificate request.|
|What you are about to enter is what is called a Distinguished Name or a DN.|
|There are quite a few fields but you can leave some blank|
|For some fields there will be a default value,|
|If you enter ‘.’, the field will be left blank.|
|Country Name (2 letter code) [XX]:sg|
|State or Province Name (full name) :singapore|
|Locality Name (eg, city) [Default City]:singapore|
|Organization Name (eg, company) [Default Company Ltd]:techm|
|Organizational Unit Name (eg, section) :techm|
|Common Name (eg, your name or your server’s hostname) :ip-10-10-31-38.ap-southeast-1.compute.internal|
|Email Address :[email protected]|
|[[email protected] tyk-gateway]# ls|
|apps cert.pem coprocess event_handlers install key.pem middleware policies templates tyk tyk.conf tyk.conf_backup|
After that as per the link it ask to configue tyk.conf (with gateway url) and tyk-analytics.conf with (dashboard url).
As I using using open source edition I haven’t installed the dashboard. I am quite confuse here what configuration is needed to setup ssl with it.
I tried to put gateway url and listen port 8080 but with 8080 I am getting error port already in use So I updated it to 3000 but its not working. There nothing listening at 3000.
Please help to provide clear steps to configure ssl for open edition.
Additionally I would like to know when we install tyk gateway open source then what all components get installed at /opt folder and If I want to unstall tyk gateway how I can proceed.