You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "kingluo (via GitHub)" <gi...@apache.org> on 2023/04/03 10:23:18 UTC
[GitHub] [apisix] kingluo opened a new issue, #9229: docs: use bash to configure ssl resource
kingluo opened a new issue, #9229:
URL: https://github.com/apache/apisix/issues/9229
### Current State
https://apisix.apache.org/docs/apisix/certificate/#single-sni
It uses a python script to upload cert and key files in the ssl configuration.
But this script is not user-friendly, the user needs to install python and `requests` package.
### Desired State
We could use bash builtin syntax to configure the ssl resource.
```bash
curl http://127.0.0.1:9180/apisix/admin/ssls/1 \
-H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
{
"cert": "'"$(<server.crt)"'",
"key": "'"$(<server.key)"'",
"snis": [
"*.apisix.dev"
]
}'
```
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] docs: use bash to configure ssl resource [apisix]
Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 commented on issue #9229:
URL: https://github.com/apache/apisix/issues/9229#issuecomment-1869067695
It hasn't. I'm still seeing Python scripts.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] docs: use bash to configure ssl resource [apisix]
Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 closed issue #9229: docs: use bash to configure ssl resource
URL: https://github.com/apache/apisix/issues/9229
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] docs: use bash to configure ssl resource [apisix]
Posted by "smileby (via GitHub)" <gi...@apache.org>.
smileby commented on issue #9229:
URL: https://github.com/apache/apisix/issues/9229#issuecomment-1869190588
I saw the Python script in [Mutual TLS Authentication](https://apisix.apache.org/docs/apisix/mtls/), but not in [Certificate](https://apisix.apache.org/docs/apisix/certificate/#single-sni)
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kayx23 commented on issue #9229: docs: use bash to configure ssl resource
Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 commented on issue #9229:
URL: https://github.com/apache/apisix/issues/9229#issuecomment-1547302421
Here as well https://apisix.apache.org/docs/apisix/mtls/#how-to-configure-2
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] docs: use bash to configure ssl resource [apisix]
Posted by "smileby (via GitHub)" <gi...@apache.org>.
smileby commented on issue #9229:
URL: https://github.com/apache/apisix/issues/9229#issuecomment-1879697754
This issue, if it only deals with [Mutual TLS Authentication](https://apisix.apache.org/docs/apisix/mtls/), then I can try it
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kayx23 commented on issue #9229: docs: use bash to configure ssl resource
Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 commented on issue #9229:
URL: https://github.com/apache/apisix/issues/9229#issuecomment-1547303765
Another issue opened for consolidating all mTLS docs: https://github.com/apache/apisix/issues/9485
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] docs: use bash to configure ssl resource [apisix]
Posted by "smileby (via GitHub)" <gi...@apache.org>.
smileby commented on issue #9229:
URL: https://github.com/apache/apisix/issues/9229#issuecomment-1869011163
@kingluo I think this has been solved
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] docs: use bash to configure ssl resource [apisix]
Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 commented on issue #9229:
URL: https://github.com/apache/apisix/issues/9229#issuecomment-1869204532
> I saw the Python script in [Mutual TLS Authentication](https://apisix.apache.org/docs/apisix/mtls/), but not in [Certificate](https://apisix.apache.org/docs/apisix/certificate/#single-sni)
I see... yeah
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] docs: use bash to configure ssl resource [apisix]
Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 commented on issue #9229:
URL: https://github.com/apache/apisix/issues/9229#issuecomment-1879780314
Yeah of course, you can give it a go 🙂
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org