Store the Array, not human-readable version

[SeeRM #8389]
Land #2342, fix for smb_enumshares Array-ness
FixRM #8034 Pick a valid certificate expiration
Helps to put the rand() wrapper in
Land #2343 protect vs int wrap on ARM/Android

[FixRM #8034]