I am trying to use RCurl to log in to the following site: https://www.pwcmoneytree.com/Account/Login. I get following error: "Error: Internal Server Error". Is this a certificate issue? I have seen links to this site about certificates, but I'm not sure where to start in my case. Here's the code, which was based off an answer in this post. What do I need to do to solve the error? Thank you.
library(RCurl)
#Set your browsing links
loginurl = "https://www.pwcmoneytree.com/Account/Login"
#Set user account data and agent
pars=list(UserName="user_xxxx", Password="password_xxxx") #User name and password taken out
agent="Chrome/39.0"
#Set RCurl parameters
curl = getCurlHandle()
curlSetOpt(cookiejar="cookies.txt", useragent = agent, followlocation = TRUE,
curl=curl, sslversion=3L, ssl.verifypeer = FALSE)
#Post login form
html=postForm(loginurl, .params = pars, curl=curl)