some changes to allow a hack to get rid of the ssl cert for local store since users won't have that in first set up to check