Prerequisites
Local Computer\Personal
Exporting the Certificate
cd "C:\Program Files\Rublon Auth Proxy"
.\bin\rublon-certificate-export.exe
DNS name or IP address clients use to reach this proxy:
[1] CN=rap.example.com
Valid until: 2028-09-18
DNS names: rap.example.com
Server Authentication: Yes
Status: Ready
Thumbprint: FA83F1394F3E140EC941EF7B5058637CCA725AA8
Generated Files
C:\Program Files\Rublon Auth Proxy\config\certificates\ldap-proxy-certificate.pem
C:\Program Files\Rublon Auth Proxy\config\certificates\ldap-proxy-private-key.pem
Configuring Rublon Authentication Proxy
proxy_servers:
- name: LDAP-Proxy
type: LDAP
ip:
port: 636
auth_source: LDAP_SOURCE_1
auth_method: email
cert_path: 'C:\Program Files\Rublon Auth Proxy\config\certificates\ldap-proxy-certificate.pem'
pkey_path: 'C:\Program Files\Rublon Auth Proxy\config\certificates\ldap-proxy-private-key.pem'
pkey_password: 'PRIVATE_KEY_PASSWORD'
net stop RublonAuthProxy
net start RublonAuthProxy
Command-Line Options
.\bin\rublon-certificate-export.exe `
--hostname rap.example.com `
--thumbprint 0123456789ABCDEF0123456789ABCDEF01234567
Troubleshooting
The Private Key Is Non-Exportable
Access to the Private Key Was Denied
Hostname Validation Failed
Existing Output Files Were Found
.\bin\rublon-certificate-export.exe --overwrite
LDAP Clients Do Not Trust the Certificate
Creating a Certificate for Testing
$dns="rap.example.com"; $expiry=(Get-Date).AddYears(2); $cert=New-SelfSignedCertificate -Type SSLServerAuthentication -Subject "CN=$dns" -DnsName $dns -CertStoreLocation "Cert:\LocalMachine\My" -KeyAlgorithm RSA -KeyLength 2048 -HashAlgorithm SHA256 -KeyExportPolicy Exportable -NotAfter $expiry; $cert.Thumbprint