-
Notifications
You must be signed in to change notification settings - Fork 549
Conversation
```bash | ||
./paictl.py service stop -n pylon | ||
./paictl.py config pull -o <config-folder> |
There was a problem hiding this comment.
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>
There was a problem hiding this comment.
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。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
重启pylon service,您就可以通过https来访问OpenPAI了。
There was a problem hiding this comment.
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机构颁发的证书,接下来将首先演示自签名证书的配置过程。两种证书的配置过程是近似的。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
自签名证书或由CA机构颁发的证书
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
完整版