Skip to content

how to configure for https domain? #265

Open
@alexblattner

Description

@alexblattner

I'm trying to configure my arangodb-php connection-options in a way I could access my arangodb database in aws from godaddy. Could I get a detailed tutorial or some help on the matter? Thanks in advance. To be clear I'm talking about this:
$connectionOptions =array( // server endpoint to connect to ConnectionOptions::OPTION_ENDPOINT => 'ssl://54.226.203.141:8529', // authorization type to use (currently supported: 'Basic') ConnectionOptions::OPTION_AUTH_TYPE => 'Basic', // user for basic authorization ConnectionOptions::OPTION_AUTH_USER => 'root', // password for basic authorization ConnectionOptions::OPTION_AUTH_PASSWD => 'i-0da2dfebc3b30985a', // connection persistence on server. can use either 'Close' (one-time connections) or 'Keep-Alive' (re-used connections) ConnectionOptions::OPTION_CONNECTION => 'Close', // connect timeout in seconds ConnectionOptions::OPTION_DATABASE=>'ShareOn', ConnectionOptions::OPTION_TIMEOUT => 3, // whether or not to reconnect when a keep-alive connection has timed out on server ConnectionOptions::OPTION_RECONNECT => true, // optionally create new collections when inserting documents ConnectionOptions::OPTION_CREATE => true, // optionally create new collections when inserting documents ConnectionOptions::OPTION_UPDATE_POLICY => UpdatePolicy::LAST, ConnectionOptions::OPTION_VERIFY_CERT => true, ConnectionOptions::OPTION_VERIFY_CERT_NAME=>'shareon.me', );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions