nethserver-base-migrate: fix modSSL migration of self-signed certs. Refs #2745

Applied patch from http://dev.nethserver.org/issues/2745#note-3