You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/03/10 08:26:02 UTC
[GitHub] [apisix] xuyancheng24 opened a new issue #3800: request help: 用openssl生成证书和秘钥后,不能直接用,还要把私有CA证书cacert.pem文件内容,追加到/etc/pkis/certs/ca-bundle.crt,才能用https访问
xuyancheng24 opened a new issue #3800:
URL: https://github.com/apache/apisix/issues/3800
### Issue description
### Environment
* apisix version (cmd: `apisix version`):2.2
* OS (cmd: `uname -a`):Linux localhost.localdomain 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
* OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):nginx version: openresty/1.19.3.1
* etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):3.4.0
* apisix-dashboard version, if have:2.3
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] moonming commented on issue #3800: request help: 用openssl生成证书和秘钥后,不能直接用,还要把私有CA证书cacert.pem文件内容,追加到/etc/pkis/certs/ca-bundle.crt,才能用https访问
Posted by GitBox <gi...@apache.org>.
moonming commented on issue #3800:
URL: https://github.com/apache/apisix/issues/3800#issuecomment-802462603
@xuyancheng24
Please use English in the public channel, thx
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] xuyancheng24 removed a comment on issue #3800: request help: 用openssl生成证书和秘钥后,不能直接用,还要把私有CA证书cacert.pem文件内容,追加到/etc/pkis/certs/ca-bundle.crt,才能用https访问
Posted by GitBox <gi...@apache.org>.
xuyancheng24 removed a comment on issue #3800:
URL: https://github.com/apache/apisix/issues/3800#issuecomment-795122064
ssl证书,apisix ssl的这个属性能用吗?这个看注释应该是指定受信任的证书路径吧?怎么用?我这边希望不通过证书信息追加到/etc/pkis/certs/ca-bundle.crt方式才能访问https,用那个受信任的证书路径参数可以解决吗?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] moonming closed issue #3800: request help: 用openssl生成证书和秘钥后,不能直接用,还要把私有CA证书cacert.pem文件内容,追加到/etc/pkis/certs/ca-bundle.crt,才能用https访问
Posted by GitBox <gi...@apache.org>.
moonming closed issue #3800:
URL: https://github.com/apache/apisix/issues/3800
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] xuyancheng24 commented on issue #3800: request help: 用openssl生成证书和秘钥后,不能直接用,还要把私有CA证书cacert.pem文件内容,追加到/etc/pkis/certs/ca-bundle.crt,才能用https访问
Posted by GitBox <gi...@apache.org>.
xuyancheng24 commented on issue #3800:
URL: https://github.com/apache/apisix/issues/3800#issuecomment-795122064
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tokers commented on issue #3800: request help: 用openssl生成证书和秘钥后,不能直接用,还要把私有CA证书cacert.pem文件内容,追加到/etc/pkis/certs/ca-bundle.crt,才能用https访问
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #3800:
URL: https://github.com/apache/apisix/issues/3800#issuecomment-796353465
@xuyancheng24 `ssl_trusted_certificate` is used to fill the Nginx directive `lua_ssl_trusted_certificate`, which is used by APISIX itself when it talks to external components (to verify these components).
You didn't say how you use the self-signed certificate, maybe as a server-side certificate? In such a case, this depends on your clients' to ignore the verification of the certificate. It has nothing to do with putting the CA cert to /etc/pkis/certs/ca-bundle.crt unless you access APISIX in the local host.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] xuyancheng24 commented on issue #3800: request help: 用openssl生成证书和秘钥后,不能直接用,还要把私有CA证书cacert.pem文件内容,追加到/etc/pkis/certs/ca-bundle.crt,才能用https访问
Posted by GitBox <gi...@apache.org>.
xuyancheng24 commented on issue #3800:
URL: https://github.com/apache/apisix/issues/3800#issuecomment-796363623
you mean if I don't access APISIX in the local host, and it as a server-side certificate,or Client access does not affect,I don't need the CA cert (/etc/pkis/certs/ca-bundle.crt)?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tokers commented on issue #3800: request help: 用openssl生成证书和秘钥后,不能直接用,还要把私有CA证书cacert.pem文件内容,追加到/etc/pkis/certs/ca-bundle.crt,才能用https访问
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #3800:
URL: https://github.com/apache/apisix/issues/3800#issuecomment-796684525
> you mean if I don't access APISIX in the local host, and it as a server-side certificate,or Client access does not affect,I don't need the CA cert (/etc/pkis/certs/ca-bundle.crt)?
I did'nt totally understand your mean. But if you want to use this self-signed certificate as a server side certificate, you should:
1. configure a SSL object with the cert and priv key, written to ETCD through APISIX admin API or manager API;
2. add the CA cert to the /etc/pki/certs/ca-bundle.crt or other similar files in your client machine/VM/container, or just ignore the certification verification in your client side;
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org