-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AT+CSSLCFG returns ERROR #300
Comments
Still don't have HTTPS working with a site whose certificate is issued by ISG/letsencrypt, but the ERRORs I was seeing in the AT commands are from backspacing and editing the commands rather than the commands being typed out perfectly the first time. If I backspace in any command: ERROR. If I don't backspace and type the command correctly: OK. This appears to have been a problem between keyboard and chair. (PEBKAC). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[Figured it out]
[Sort of. I still don't have HTTPS working right.]
I have not been able to get HTTPS to work. Here is what I've done so far:
Run the commands:
AT+CNACT=1,"hologram"
OK
AT+CNACT?
CNACT: 1,"10.99.xxx.xxx"
OK
AT+CMEE=2
OK
AT+CACID=0
OK
AT+CASSLCFG=0,"cacert","mysites_der.crt"
ERROR [likely caused by a backspace or something. Apparently backspacing in putty will cause ERROR for any AT command.]
AT+CASSLCFG=0,"cacert","mysites_root_CA_cert.crt"
OK
AT+CASSLCFG=0,"cacert","mysites_der.crt"
OK
// I have no idea why it didn't work the first time. Anybody?
AT+CSSLCFG="convert",2,"mysites_der.crt"
OK
AT+SHSSL=1,"mysites_der.crt"
OK
// !!!!
AT+SHCONF="URL","https://mysites.url.com"
OK
AT+SHCONF="BODYLEN",64
ERROR
// WTF?
AT+SHCONF="BODYLEN",64
ERROR
// WTF!!?
AT+SHCONF="bodylen",64
OK
// WTF?
AT+SHCONF="headerlen",64
OK
And everything works. I think the missing step was the AT+CASSLCFG commands.
The text was updated successfully, but these errors were encountered: