title: SoftLayer API: Order Security Certificate CSR validation
body: <p>I use the following openssl command to genereate CSR: </p>
  
  <pre><code>openssl genrsa -out mytestdomain.key 2048
  openssl req -new -sha256 -key mytestdomain.key -out mytestdomain.csr
  </code></pre>
  
  <p>I try to place a Security Certificate order from SoftLayer customer portal using the aboved mytestdomain.csr value under the "Enter Certificate Signing Rquest (CSR) , I got an error msg : </p>
  
  <blockquote>
    <p>"Must match CSR Base64 encoded PEM Format 
    ---BEGIN CERTIFICATE REQUEST---   Base64 Encoded String
    --End CERTIFICATE REQUEST ---</p>
  </blockquote>
  
  <p>How to use openssl to generate Base64 encoded PEM CSR ? </p>
  
  <p>If I enter a correct csr value from a sample file,  I can see SoftLayer does a validation request as: 
  <a href="https://control.softlayer.com/security/sslorders/validatecsr" rel="nofollow">https://control.softlayer.com/security/sslorders/validatecsr</a></p>
  
  <p>and the response shows valid email address, country such as : 
  {"success":true,"result":{"X":"XX","xx":"XXXX, Europe","L":"XXXX City","O":"My Test","OU":"VPN","XX":"mytest.com","emailAddress":"test@mytest.com"}}</p>
  
  <p>Question 2:  Which method can I use to validate and extract information from CSR, similar to what the SoftLayer customer portal use? </p>