Jhipster,您的连接不是私人的

时间:2018-08-28 09:25:30

标签: spring-boot ssl jhipster

我正在尝试使用SSL certificate通过jhipster访问我的https应用。 我已按照以下说明进行操作:How to add self signed SSL certificate to jHipster sample app? ,但是当我尝试访问该页面时,收到消息your connection is not private。当我继续浏览该页面时,我可以从URL:not secured的左侧看到该页面,当我单击该页面时,它说我的证书未激活,但是它还表明该证书在接下来的10年内有效。 有没有人遇到过同样的问题? 我想念什么吗?

谢谢!

关于我的项目的所有信息:

"jhipsterVersion": "4.14.1",
"serverPort": "8080",
"authenticationType": "jwt",
"cacheProvider": "ehcache",
"enableHibernateCache": true,
"websocket": false,
"databaseType": "sql",
"devDatabaseType": "h2Disk",
"prodDatabaseType": "mysql",
"searchEngine": false,
"messageBroker": false,
"serviceDiscoveryType": false,
"buildTool": "maven",
"enableSocialSignIn": true,
"enableSwaggerCodegen": false,
"jwtSecretKey": "",
"clientFramework": "angularX",
"useSass": false,
"clientPackageManager": "yarn",
"applicationType": "monolith",
"jhiPrefix": "jhi",
"enableTranslation": false

1 个答案:

答案 0 :(得分:1)

https://malalanayake.wordpress.com/2017/01/28/ssl-configuration-on-spring-boot-application-with-self-signed-certificate/

来自上面的链接:

如果站点是面向公众的,则最好使用公共CA签名证书而不是自签名。因此,如果您具有公共CA签名的证书,则客户端浏览器会毫无问题地验证证书,因为浏览器默认情况下会识别公共CA,否则它将显示如下所示,它是不受信任的站点unless you import the certificate to the browser trust store.