def METHOD_NAME(cert, key):
    key_path = os.path.join(SSL_CERTIFICATES_FILEPATH, SSL_KEY_NAME)
    cert_path = os.path.join(SSL_CERTIFICATES_FILEPATH, SSL_CRT_NAME)
    with open(cert_path, 'wb') as cert_file:
        cert_file.write(cert)
    with open(key_path, 'wb') as key_file:
        key_file.write(key)