Hello,
I installed supla-docker on raspberry -> all ok
I interfaced it with supla-script -> all ok
Now I'm trying to interface it to Alexa but I can't, this is the answer:
We could not connect to your SUPLA Cloud instance. Your istance is not registered or is trying to authorize an application that is not published.
I don't know how to register the instance. Any indication?
PS: when an English version of supla-script?
Thanks
Supla-docker on Raspberry Pi3B+ with Alexa
Czekam na kolejne Supla Offline Party
You can use free certificates like Let’s Encrypt.
To test the certificate, use the following command.
To test the certificate, use the following command.
Code: Select all
openssl s_client -showcerts -connect yourdomain.com:443
Code: Select all
pi@raspberrypi:~ $ openssl s_client -showcerts -connect ************** 43CONNECTED(00000003)
depth=0 C = PL, ST = SUPLA, L = SUPLA, O = SUPLA, CN = SUPLA
verify error:num=18:self signed certificate
verify return:1
depth=0 C = PL, ST = SUPLA, L = SUPLA, O = SUPLA, CN = SUPLA
verify return:1
---
Certificate chain
0 s:C = PL, ST = SUPLA, L = SUPLA, O = SUPLA, CN = SUPLA
i:C = PL, ST = SUPLA, L = SUPLA, O = SUPLA, CN = SUPLA
-----BEGIN CERTIFICATE-----
MIIDcDCCAligAwIBAgIJAKcyUUutyhGTMA0GCSqGSIb3DQEBCwUAME0xCzAJBgNV
BAYTAlBMMQ4wDAYDVQQIDAVTVVBMQTEOMAwGA1UEBwwFU1VQTEExDjAMBgNVBAoM
BVNVUExBMQ4wDAYDVQQDDAVTVVBMQTAeFw0xOTA4MTgxNzMwNThaFw0yMDA4MTcx
NzMwNThaME0xCzAJBgNVBAYTAlBMMQ4wDAYDVQQIDAVTVVBMQTEOMAwGA1UEBwwF
U1VQTEExDjAMBgNVBAoMBVNVUExBMQ4wDAYDVQQDDAVTVVBMQTCCASIwDQYJKoZI
hvcNAQEBBQADggEPADCCAQoCggEBANY4wIhsMpblXvSL0+1t/iSwgPXrP1/1OY8T
7JvoZNBifdG8JoNi5IrhDQiWyR4dh8RjduxzVcQB9n2YCOYK6XSgRYMo1Cqjew0v
J+Rw5qpNXjF0XxYdDnfMd0g6vsBkkNRC/SNHpeF9wWzojJuExsKPZlEAhV/78Yd4
wBtyUdwDPTtpE2MLHCm84Z8BEWdNusm1ShdPY9mQo9JwQiObe+opy0dSYie7nURa
4Kq5EabwzxKmxWf2Ocvext/Q+uFJ4InGZRob/wotKIK8uWC7RWiPVbexKZGKWCWo
kgzolK7dKseN5+1EFjYfMJBT0I2g7/uf/m+i/BLpXEe5mAjrXccCAwEAAaNTMFEw
HQYDVR0OBBYEFFucTkXBiGL00tyR2n/oXGm+iOItMB8GA1UdIwQYMBaAFFucTkXB
iGL00tyR2n/oXGm+iOItMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQAD
ggEBAKCrWhaVd92LfZfgSd4Ts1VyBFJ4mszyXyd9ipXCehw4PkyrVd4QzgSztzc9
bKAqzsp9uhKyuWgM/Nc/u9gpn0mkOk0VeQIjWYoBUrrP62TZLyw++wr7T1vx283g
SQLSHCdWDJLO7gvcSt/NVW8w1/TMYGTkHN36IZj+dkI/HIXbM2i5xMy1fPUif4Q+
wNMubnsd/pRm7C0DtnusgqSPXs4KLUGgwinr/bSv0j9ZutuU2AKe1IsdpnjmFzNp
0tWs7uOF+4DuOaTOm6YH2s/YsAxV0of7qifII8SKfzzbGStScS0ewBJ7LzfXEDZl
dALf84SSsUuSW5HqZI0/BzQEkGU=
-----END CERTIFICATE-----
---
Server certificate
subject=C = PL, ST = SUPLA, L = SUPLA, O = SUPLA, CN = SUPLA
issuer=C = PL, ST = SUPLA, L = SUPLA, O = SUPLA, CN = SUPLA
---
No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: RSA
Server Temp Key: ECDH, P-256, 256 bits
---
SSL handshake has read 1586 bytes and written 438 bytes
Verification error: self signed certificate
---
New, TLSv1.2, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : ECDHE-RSA-AES256-GCM-SHA384
Session-ID: 152DE6E77FC4EE5B9B19A2F86294FDD7E5CC000D5F95997FF48CAF65BB5496B0
Session-ID-ctx:
Master-Key: 1F81B0076AAADF1FCB89309AEB19CA60E41F82527E15C44D3A2FB135221ABE0D5F254628AA6982B37771C68DD55227EB
PSK identity: None
PSK identity hint: None
SRP username: None
TLS session ticket lifetime hint: 300 (seconds)
TLS session ticket:
0000 - 4e ba e1 b9 d2 77 f7 e8-6f e5 1b 7d 06 17 01 2d N....w..o..}...-
0010 - 89 d8 ca d5 97 74 6e a0-4e f6 7b ca b2 46 ef ae .....tn.N.{..F..
0020 - 07 9e 02 f6 ca b8 41 00-8b 15 34 2f 41 09 a8 db ......A...4/A...
0030 - b5 6c ed 06 59 89 ac 38-11 22 8d 1f 77 0e 05 e3 .l..Y..8."..w...
0040 - c4 2f 22 38 13 f3 2a d6-ca 56 c9 2a 5d e7 24 4e ./"8..*..V.*].$N
0050 - 1e a7 62 50 cc cd b7 5d-43 bc dc 55 7b 03 88 73 ..bP...]C..U{..s
0060 - 6f 24 17 db aa 2d c6 51-da 6d 2e b7 19 ca a8 69 o$...-.Q.m.....i
0070 - c2 0b 2c c5 4e 2d 24 8e-60 21 0d 9d 0c f2 21 6a ..,.N-$.`!....!j
0080 - 26 85 52 3f 92 46 c7 98-cd 7c c4 7a 33 3b 42 f5 &.R?.F...|.z3;B.
0090 - 2f ab 57 b7 35 ac 44 c9-18 48 0e ed 44 a6 b7 73 /.W.5.D..H..D..s
00a0 - 36 3e af 10 4e 2b 12 df-e6 9a 7e 6e 04 b3 e8 ea 6>..N+....~n....
00b0 - 69 95 9d 0f 3a f0 21 bb-57 c1 97 5d 9d 10 a0 0a i...:.!.W..]....
00c0 - 55 76 55 9f 5a 1e d9 37-ab d2 20 ee f3 cc e5 72 UvU.Z..7.. ....r
Start Time: 1567268450
Timeout : 7200 (sec)
Verify return code: 18 (self signed certificate)
Extended master secret: no
---
closed
Now i try let's encrypt
ok everything works.
I followed these post:
installation on Rpi --> viewtopic.php?f=23&t=4081
registration --> viewtopic.php?p=42333#p42333
tnx
I followed these post:
installation on Rpi --> viewtopic.php?f=23&t=4081
registration --> viewtopic.php?p=42333#p42333
tnx