Commit Graph

18 Commits (9a5c2b88dc72e29f9283ca7ccbbaab4a614011fd)

Author SHA1 Message Date
neilpang f3682f0e8e fix format 4 years ago
neilpang cfbc294832 fix onecom api 4 years ago
neil 19c4345162 fix shfmt 5 years ago
der-berni da7b1fb014
cleanup according to styleguide / ShellCheck 5 years ago
der-berni 5fac282ee0
Update to work with new one.com procedure
Since some Months, its no longer possible to add TXT Records with the Name "_acme-challenge" to the base domain.
To override the fallback value, you must use a CNAME and proxy it.
For example.
CNAME _acme-challenge.yourdomain.com => proxy_acme-challenge.yourdomain.com
The TXT Records have to be created on proxy_acme-challenge.yourdomain.com

Since the default CNAME TTL is 3600 seconds, it is recommended to leave the CNAME record.
But if you would like to use the build-in SSL (for your web-site etc.) from one.com, you have to delete the record.

A new variable "ONECOM_KeepCnameProxy" you can set in the account.conf is used to keep the CNAME record.
By default the CNAME record will be removed.

For ex.: SAVED_ONECOM_KeepCnameProxy='1'
to keep the CNAME Record and speedup the process.
5 years ago
der-berni 1a5279bd6e
cleanup according to styleguide 6 years ago
der-berni 937d5b5472
try to remove errors in travis-ci 6 years ago
der-berni 89e73594eb
fixed error in CI 6 years ago
der-berni a3089a719f
Updated to work with curl
Now works with curl.
Check the root domain.
6 years ago
der-berni e340593ad1
Revert parameter changes
Revert ONECOM_PASSWORD back to ONECOM_Password
and ONECOM_USER back to ONECOM_User
6 years ago
der-berni 68b42a00e0
updated to work with one.com
rev command not found on OpenWrt
CURL does not work, using wget
JSESSIONID replaced with OneSIDCrmAdmin
CSRF_G_TOKEN not needed
6 years ago
neilpang dac75a1dda rename 6 years ago
diseq 472ed721a3
fix format 6 years ago
diseq ed3f2646f0
fix format 6 years ago
diseq 0499d2b5c4
remove line break 6 years ago
diseq 81ba629b56
allow set-cookie as well as Set-Cookie 6 years ago
diseq 0bb746ba39
Update dns_one.sh 6 years ago
dsc 9ff6d6e7b5 initial commit 6 years ago