Cpanel setup #3057
Replies: 2 comments 2 replies
-
I'm also trying to use cPanel API Token for renewal of an certificate. It seems that auth. with an api token is not possibel atm? https://docs.cpanel.net/knowledge-base/security/how-to-use-cpanel-api-tokens/ It seems that cpanel uses the token as username. But if you remove I think we need a possability just to add an token. |
Beta Was this translation helpful? Give feedback.
-
Update to my earlier Comment on Current Discussion Thread OopsIt turns out I was wrong about the It absolutely WILL NOT use Not Giving UpHowever, it is still possible to use a CPanel API token for authentication. It requires:
# the leading dot is "source" - it's not "./opt/certbot/...", but rather "source /opt/certbot/..."
. /opt/certbot/bin/activate && pip install --no-cache-dir certbot-dns-cpanel~=0.2.2 && deactivate
# we have to get it to do...
. /opt/certbot/bin/activate && pip install --no-cache-dir certbot-dns-cpanel~=0.4.0 && deactivate Newer Version of
|
Beta Was this translation helpful? Give feedback.
-
Morning
I have been using Nginx for a while on my old hosting cpanel. I have just upgraded and I am trying to setup a new proxy host. When you select cpanel it asks for :
cpanel_url = https://cpanel.example.com:2083/
cpanel_username = user
cpanel_password = hunter2
which I have set correctly for my new cpanel access, I seem to remember I also need to generate an API key and put that somewhere . Please can you help ??
Beta Was this translation helpful? Give feedback.
All reactions