add some if for linux windows
add ssl_certificate for webserver