Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

PAI https配置 #5076

Merged
merged 6 commits into from
Nov 12, 2020
Merged

PAI https配置 #5076

merged 6 commits into from
Nov 12, 2020

Conversation

vvfreesoul
Copy link
Contributor

完整版

@coveralls
Copy link

coveralls commented Nov 11, 2020

Coverage Status

Coverage remained the same at 34.223% when pulling c41ce5a on vvfreesoul:zgw_https_cn into 5fbefb8 on microsoft:master.

```bash
./paictl.py service stop -n pylon
./paictl.py config pull -o <config-folder>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add vim <config-folder>/services-configuration.yaml after ./paictl.py config pull -o <config-folder>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

key_path: /home/ssl/FileName.key
```
到此,您已经配好了自签名证书,重启pylon service,可以通过https来访问OpenPAI。
Copy link
Contributor

@hzy46 hzy46 Nov 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

重启pylon service,您就可以通过https来访问OpenPAI了。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

## <div id="how-to-set-up-https">如何设置HTTPS访问</div>

为pylon配置https证书您需要先获得数字证书,然后将数字证书相关文件保存到dev-box容器中,在dev-box内您可以找到`services-configuration.yaml`这个配置文件,然后您需要把已经保存的数字证书的文件路径配置到`services-configuration.yaml`文件中。您可以选择自签名证书和由CA机构颁发的证书,接下来将首先演示自签名证书的配置过程。两种证书的配置过程是近似的。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

自签名证书或由CA机构颁发的证书

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

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

Successfully merging this pull request may close these issues.

3 participants