Fixed deprecation warnings
Use https for oaesh