allow to auto-set cn from gn and sn
Merge commit 'github/testing' into beta