Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本地启动secretpad,然后远程连接访问kuscia api失败问题 #182

Open
Jinlongclass opened this issue Dec 6, 2023 · 6 comments

Comments

@Jinlongclass
Copy link

windows本地启动secretpad,目前已经在linux环境搭建kuscia三个节点(master、alice、bob),现在想要在本地启动的secretpad远程访问kuscia api,应该如何配置kuscia api的地址和证书呢?用于连接的相关证书和token,可以直接使用master节点下面的证书和token吗?我目前在本地使用master节点下的证书和token,配置kuscia api的地址是宿主机的地址和端口,但是tls一直失败

@Jinlongclass
Copy link
Author

失败的报错如下:
image

@cho-chem cho-chem self-assigned this Dec 6, 2023
@cho-chem
Copy link
Contributor

cho-chem commented Dec 6, 2023

你好,请确认下使用的证书是否如文档所述:https://www.secretflow.org.cn/docs/kuscia/latest/zh-Hans/tutorial/run_secretflow_with_api_cn#cert-and-token

@Jinlongclass
Copy link
Author

是这些文件,把kusciaapi-client.crt重命名为client.crt,kusciaapi-client.key重名为client.pem
image

@Jinlongclass
Copy link
Author

image
image
image
image

@cho-chem
Copy link
Contributor

cho-chem commented Dec 7, 2023

你好,请确认下

  1. secretpad 访问 kusciaapi 使用的是哪个 IP,是 kusciaapi 主机上的 IP 吗?
  2. 尝试使用命令 curl -v --cacert ca.crt --cert kusciaapi-client.crt--keykusciaapi-client.key https://${KUSCIA_API_IP}:${PORT} 查看下结果输出

@LookingName
Copy link

您好 这远程的jks文件哪里获取的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants