Subsites redirect to main domain after setting up SSL cert

After setting up a SSL certificate to main domain of multisite, all subsites are redirecting to main domain instead.

.htaccess and wp-config.php files were checked.

The results of conflict test are being expected.
https://premium.wpmudev.org/wp-content/uploads/2015/09/Support-Process-Support-Process.gif