Network Discovery example
Java Code
The following implementation example of HTTPS for a POMBA Springboot Microservice can be found at https://gerrit.onap.org/r/#/c/74206/, some values may differ, but the following content should be the same.
...
Code Block | ||||
---|---|---|---|---|
| ||||
@Autowired private Client jerseySslClient; |
OOM Code
For OOM deployment of the Network Discovery Example the following changes were required, https://gerrit.onap.org/r/#/c/74739/ :
...
Code Block | ||||
---|---|---|---|---|
| ||||
#Enable HTTPS serverSslPort: 8443 serverSslKeyStore: /opt/app/config/auth/tomcat_keystore serverSslKeyStorePassword: password(OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10) serverSslClientAuth: want serverSslEnabled: true serverSslEnabledProtocols: TLSv1.1,TLSv1.2 |
For POMBA Kibana microservice, the HTTPS configuration is done in OOM
$oom-repo-root/kubernetes/pomba/charts/pomba-kibana/values.yaml
Code Block | ||||
---|---|---|---|---|
| ||||
#Enable HTTPS
serverSslEnabled: true
serverSslCertificate: /usr/share/kibana/auth/pomba.crt.pem
serverSslKey: /usr/share/kibana/auth/pomba.key.pem
|