Spring boot 带GoDaddy证书的Boxfuse SSL配置

Spring boot 带GoDaddy证书的Boxfuse SSL配置,spring-boot,amazon-ec2,ssl-certificate,boxfuse,Spring Boot,Amazon Ec2,Ssl Certificate,Boxfuse,我在AWS上部署了一个带有Boxfuse的Spring Boot应用程序。我正在努力使SSL与“mydomain.com”一起工作。我从Godaddy那里获得了证书。它适用于自签名证书。但当我尝试使用GoDaddy证书时,它说有效载荷无法在300秒内出现。我是否需要在AWS或Godaddy上配置任何东西。现在,我的应用程序.properties文件中有以下配置 server.port=443 server.ssl.enabled=true server.ssl.key-store=classpa

我在AWS上部署了一个带有Boxfuse的Spring Boot应用程序。我正在努力使SSL与“mydomain.com”一起工作。我从Godaddy那里获得了证书。它适用于自签名证书。但当我尝试使用GoDaddy证书时,它说有效载荷无法在300秒内出现。我是否需要在AWS或Godaddy上配置任何东西。现在,我的
应用程序.properties
文件中有以下配置

server.port=443
server.ssl.enabled=true
server.ssl.key-store=classpath:example.jks
server.ssl.key-store-password=myS3cr3tPwd
server.ssl.trust-store=/cacerts/example.jks
server.ssl.trust-store-password=my0th3rPwd 
日志说:

2017-01-19 09:22:38.315  INFO 895 --- [           main] s.b.c.e.t.TomcatEmbedded
ServletContainer : Tomcat started on port(s): 443 (https)
2017-01-19 09:22:38.338  INFO 895 --- [           main] com.unoiatech.o3.Applica
tion             : Started Application in 50.814 seconds (JVM running for 51.171
)
The system is going down NOW!
Sent SIGTERM to all processes
2017-01-19 09:26:34.501  INFO 895 --- [       Thread-4] ationConfigEmbeddedWebAp
plicationContext : Closing org.springframework.boot.context.embedded.AnnotationC
onfigEmbeddedWebApplicationContext@73f0f3d4: startup date [Thu Jan 19 09:21:48 G
MT 2017]; root of context hierarchy
2017-01-19 09:26:34.530  INFO 895 --- [       Thread-4] o.s.j.e.a.AnnotationMBea
nExporter        : Unregistering JMX-exposed beans on shutdown
2017-01-19 09:26:34.553  INFO 895 --- [       Thread-4] j.LocalContainerEntityMa
nagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'defaul
t'
Sent SIGKILL to all processes
Requesting system poweroff
[  290.976653] reboot: Power down
我不知道到哪里去找这个问题。任何帮助都将不胜感激

编辑:

这是一个t2.micro实例

运行应用程序的命令:
boxfuse run myapp:1.x-env=test

将端口添加到命令后编辑

此外,它正在使用端口8443。

  • 使用PKCS12格式
  • 我面临着使用下面的命令解决的相同问题

    openssl pkcs12-导出-在f8f628911xyzc.crt中-inkey mydomain.com.key -certfile gd_bundle-g2-g1.crt-out mydomain.p12

      • 使用PKCS12格式
      • 我面临着使用下面的命令解决的相同问题

        openssl pkcs12-导出-在f8f628911xyzc.crt中-inkey mydomain.com.key -certfile gd_bundle-g2-g1.crt-out mydomain.p12


      确保您的应用程序在Boxfuse执行健康检查期间通过直接访问其IP返回HTTP 200。@AxelFontaine应用程序使用https而不是HTTP返回200。它会显示:等待有效负载从HTTP://xx.xxx.xx.xx:443开始/请还包括您的Boxfuse配置和您需要的参数传给保险丝盒command@AxelFontaine请检查我是否添加了它们。确保您的应用程序在Boxfuse执行健康检查期间通过直接访问其IP返回HTTP 200。@AxelFontaine应用程序使用https而不是HTTP返回200。它说:等待有效负载从HTTP开始://xx.xxx.xx.xx:443/请同时提供您的Boxfuse配置以及您传递给Boxfuse的参数command@AxelFontaine请检查我是否添加了它们。