authorize.net Question

authorize.net Question

by Andrew Winter -
Number of replies: 2
When we configure https for authorize.net will we be required to purchase and install a sperate SSL certificate?  Or will Moodle be using authorize.net directly for this?  I'm guessing the answer will probably be sperate SSL but I want to double check anyway.

Thanks agian.
Average of ratings: -
In reply to Andrew Winter

Ynt: authorize.net Question

by Ethem Evlice -

Hello Andrew,

You must purchase only one SSL certificate for site. Authorize.net module connects to site with openssl library and creates one internally for you.

Anyway, one certificate is enough and you must install php with SSL support (--with-openssl)

In reply to Ethem Evlice

Ynt: authorize.net Question

by Ethem Evlice -

Actually, you don't have to buy a certificate if you want to test it only.

You can generate self-signed certificate (output: me.cer) and install to web server.

Some useful openssl commands:

openssl>

CREATE PRIVATE KEY:
genrsa -des3 -out priv.key 1024

REMOVE PASSKEY FROM PRIVATE KEY:
rsa -in priv.key -out privnopass.key

CREATE PUBLIC (CERTIFICATE) KEY - SELFSIGNED
req -config ./openssl.con -new -key ./priv.key -x509 -out me.cer -days 365
req -config ./openssl.con -new -key ./privnopass.key -x509 -out me.cer -days 365

SIGN REQUEST ( FOR CAs )
ca -in r.txt -out newcert.pem -config openssl.con -keyfile CA/server.key -cert CA/server.cer