如果成功安装,如何测试我的微服务(dropwizard)SSL配置?

时间:2016-02-23 03:13:49

标签: java ssl-certificate yaml dropwizard microservices

这是我的yml配置:

server:
  applicationConnectors:
    - type: http
      port: 8080
    - type: https
      port: 8443
      keyStorePath: xxxx.keystore
      keyStorePassword: xxxx
      validateCerts: false
  adminConnectors:
    - type: http
      port: 8081
    - type: https
      port: 8444
      keyStorePath: xxxx.keystore
      keyStorePassword: xxxx
      validateCerts: false

并在日志中: 它有一个

GET     /file/hello (com.xxx.xxxx.resource.MultiPartResource)

Started application@48f5bde6{HTTP/1.1}{0.0.0.0:8080}
Started application@525d79f0{SSL-HTTP/1.1}{0.0.0.0:8443}

全线:

INFO  [2016-02-23 02:25:15,996] org.eclipse.jetty.server.ServerConnector: Started application@48f5bde6{HTTP/1.1}{0.0.0.0:8080}
INFO  [2016-02-23 02:25:16,011] org.eclipse.jetty.server.ServerConnector: Started application@525d79f0{SSL-HTTP/1.1}{0.0.0.0:8443}

在邮递员中: 我调用这个网址

https://localhost:8443/file/hello

我收到

的回复

enter image description here

如何确定我的yml配置是否适用于SSL?

0 个答案:

没有答案