【问题标题】:Jhipster, your connection is not privateJhipster,你的连接不是私人的
【发布时间】:2018-08-28 09:25:30
【问题描述】:

我正在尝试使用SSL certificate 通过https 访问我的jhipster 应用程序。 我已按照以下说明操作: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

【问题讨论】:

标签: spring-boot ssl jhipster


【解决方案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.

【讨论】:

猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-12-14
  • 1970-01-01
  • 2017-12-09
  • 2021-12-21
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多