SSL on Arduino UNO is a dead horse! To get some measure of protection I restricted the access based on the two IP-ranges my provider normally assigns me.
Iptables is installed by default on most Linux distribution, but not on RPi I think.
First, accept incoming traffic from the IP-ranges I normally get from my ISP. The second IP-range is actually for my cell phone. If I need to debug or something. The MCU itself will never use it.
iptables -A INPUT -p tcp --dport 8442 -s x.x.0.0/15 -j ACCEPT
iptables -A INPUT -p tcp --dport 8442 -s x.x.0.0/16 -j ACCEPT
Create a chain called LOG_AND_DROP.
iptables -N LOG_AND_DROP
Add login function for the chain. In my system it writes to /var/log/syslog
iptables -A LOG_AND_DROP -j LOG --log-prefix "Source host denied: " --log-level 6
Tell the chain what to do I it gets triggered.
iptables -A LOG_AND_DROP -j REJECT
Apply the rule that triggers the chain.
iptables -A INPUT -p tcp --dport 8442 -j LOG_AND_DROP
This means that all connections to port 8442 that doesn’t match my pre-approved IP-range is automatically rejected. There is some differences between DROP and REJECT, and after some testing I felt REJECT was more suitable. With DROP, the connecting program won’t get any response and might try to connection indefinitely. That will in turn clog up my log files
REJECT is more brutal and sends back an ICMP destination-unreachable to the source, which normally terminates further attempts.
Example, first DROP, then REJECT:
~$ telnet host.example.com 8442
Trying 1.2.3.4...
Trying 1.2.3.4...
Trying 1.2.3.4...
...
~$ telnet host.example.com 8442
telnet: Unable to connect to remote host: Connection refused
A sample from the log file:
Dec 19 03:33:42 host kernel: [16747.882041] Source host denied: IN=eth0 OUT= MAC=00:50:56:bd:b1:12:00:11:5d:93:5c:c0:08:00 SRC=2.3.4.5 DST=1.2.3.4 LEN=60 TOS=0x00 PREC=0x00 TTL=55 ID=20820 DF PROTO=TCP SPT=45682 DPT=8442 WINDOW=29200 RES=0x00 SYN URGP=0
If someone finds this information useful for their own setup, awesome! If not, maybe next time! 
@Gunner Some more Linux commands for you to learn! 