# Is Perforce working with SSL?

**URL:** <https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Source-Control, Perforce, question\
**Created:** [March 24, 2014, 10:49pm UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286 "2014-03-24T22:49:51Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_1b82aa69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1b82aa69](https://forums.unrealengine.com/u/anonymous_user_1b82aa69)\
**Post date:** [March 24, 2014, 10:49pm UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/1 "2014-03-24T22:49:51Z")

</div>

Is Perforce working with SSL? Like connecting to the server with an host address: ssl:myserver.local:1666 or is it like UDK? I’m about to setup a new source control server and would like to know before.

My current setup would be CentOS linux 6.5 in VM with the latest Perforce with SSL enabled.

Thank you.

---

<div class="post-metadata">

**Author:** ![TomSarkanen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tomsarkanen/32/918655_2.png) [@TomSarkanen](https://forums.unrealengine.com/u/TomSarkanen)\
**Post date:** [March 27, 2014, 8:09pm UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/2 "2014-03-27T20:09:48Z")

</div>

We currently do not support SSL connections to Perforce servers. However should this be a major issue for you I can get the request added to our backlog. Allowing SSL connections should be fairly straightforward to add.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1b82aa69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1b82aa69](https://forums.unrealengine.com/u/anonymous_user_1b82aa69)\
**Post date:** [March 27, 2014, 11:02pm UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/3 "2014-03-27T23:02:40Z")

</div>

Thank you. That would be great. I’m not a big fan of plain text password on the network and we could link the credentials to the domain server, so users have one less password to remember.

I made a p4api plugin a while back. From what I can remember and see from the code, is that it needs a recent sdk (2012 ish) and needs OpenSSL. It links to ssleay32.lib and libeay32.lib (OpenSSL), instead of libp4sslstub.lib (P4). I can’t remember if there was something elsewhere though. I tested the app and it can connect to servers with and without SSL, so you don’t need 2 versions of the plugin.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_14e6059a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_14e6059a](https://forums.unrealengine.com/u/anonymous_user_14e6059a)\
**Post date:** [April 7, 2014, 1:27am UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/4 "2014-04-07T01:27:12Z")

</div>

My development team definitely needs Perforce SSL support as well, since we do not wish to run plaintext authentication over the internet and cannot use VPN with our current server setup. This would be a tremendous plus for using Unreal 4 for our game’s development.

---

<div class="post-metadata">

**Author:** ![TomSarkanen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tomsarkanen/32/918655_2.png) [@TomSarkanen](https://forums.unrealengine.com/u/TomSarkanen)\
**Post date:** [April 16, 2014, 10:47am UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/5 "2014-04-16T10:47:11Z")

</div>

Support for connecting to SSL-enabled Perforce servers (using ssl: prefix) was recently added and should be available in 4.2.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1b82aa69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1b82aa69](https://forums.unrealengine.com/u/anonymous_user_1b82aa69)\
**Post date:** [April 16, 2014, 4:21pm UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/6 "2014-04-16T16:21:30Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![twiddle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@twiddle](https://forums.unrealengine.com/u/twiddle)\
**Post date:** [May 1, 2014, 4:59am UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/7 "2014-05-01T04:59:39Z")

</div>

Tom, could you confirm that the prerequisites archives for the latest-preview tag actually contains the required libs for linking? There’s an OpenSSL.build.cs file for a module in ThirdParty/, but after downloading all the files and extracting them, I still don’t actually have binaries in there, causing the build to fail.

---

<div class="post-metadata">

**Author:** ![TomSarkanen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tomsarkanen/32/918655_2.png) [@TomSarkanen](https://forums.unrealengine.com/u/TomSarkanen)\
**Post date:** [May 1, 2014, 8:45am UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/8 "2014-05-01T08:45:11Z")

</div>

I’m investigating whether you are able to get an updated set of prerequisites, as the set that are there are not from the master branch.

---

<div class="post-metadata">

**Author:** ![TomSarkanen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tomsarkanen/32/918655_2.png) [@TomSarkanen](https://forums.unrealengine.com/u/TomSarkanen)\
**Post date:** [May 1, 2014, 2:28pm UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/9 "2014-05-01T14:28:49Z")

</div>

We are working on getting the prerequisite archives updated more often, but I can’t yet give you a timescale for the master branch at the moment. Apologies.

---

<div class="post-metadata">

**Author:** ![photex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@photex](https://forums.unrealengine.com/u/photex)\
**Post date:** [June 26, 2014, 6:11pm UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/10 "2014-06-26T18:11:45Z")

</div>

This doesn’t appear to have made it into 4.2. Is there something in particular that needs to be done in order to enable it perhaps?

---

<div class="post-metadata">

**Author:** ![TomSarkanen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tomsarkanen/32/918655_2.png) [@TomSarkanen](https://forums.unrealengine.com/u/TomSarkanen)\
**Post date:** [June 26, 2014, 6:47pm UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/11 "2014-06-26T18:47:03Z")

</div>

As far as I know, it did make it into 4.2. What issues are you seeing?  
Bear in mind that we don’t manage the SSL certificates in the Editor, so that part needs to done via the command line. See [here](http://www.perforce.com/perforce/r12.1/manuals/cmdref/trust.html#1040665), amongst others.

---

<div class="post-metadata">

**Author:** ![photex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@photex](https://forums.unrealengine.com/u/photex)\
**Post date:** [June 28, 2014, 12:30am UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/12 "2014-06-28T00:30:21Z")

</div>

I just figured out how to get the actual log:

LogSourceControl:Error: P4ERROR: Invalid connection to server.  
LogSourceControl:Error: Connect to server failed; check $P4PORT.  
SSL library must be at least version 1.0.0.

LogSourceControl:Error: P4ERROR: Invalid connection to server.  
LogSourceControl:Error: Connect to server failed; check $P4PORT.  
SSL library must be at least version 1.0.0.

SourceControl:Error: Error Failed to connect to source control. Check your settings and connection then try again.

This is on OSX 10.9.2

---

<div class="post-metadata">

**Author:** ![photex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@photex](https://forums.unrealengine.com/u/photex)\
**Post date:** [June 28, 2014, 12:35am UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/13 "2014-06-28T00:35:38Z")

</div>

Sorry, OSX 10.9.3

---

<div class="post-metadata">

**Author:** ![TomSarkanen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tomsarkanen/32/918655_2.png) [@TomSarkanen](https://forums.unrealengine.com/u/TomSarkanen)\
**Post date:** [June 30, 2014, 7:55am UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/14 "2014-06-30T07:55:15Z")

</div>

We currently support Perforce SSL connections on Windows, but the work to support it on Mac is still pending.

---

<div class="post-metadata">

**Author:** ![stormy2022](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stormy2022](https://forums.unrealengine.com/u/stormy2022)\
**Post date:** [August 13, 2014, 5:58am UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/15 "2014-08-13T05:58:03Z")

</div>

Perforce using SSL still does not appear to be working.

OS X: 10.9.3  
UE4: 4.2.1 and 4.3.1  
P4V version: Perforce Visual Client/MACOSX106X86\_64/2014.1/888424

The same SSL setup works fine on Windows.  
Is there any update or ETA on this issue?

---

<div class="post-metadata">

**Author:** ![TomSarkanen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tomsarkanen/32/918655_2.png) [@TomSarkanen](https://forums.unrealengine.com/u/TomSarkanen)\
**Post date:** [August 14, 2014, 10:15am UTC](https://forums.unrealengine.com/t/is-perforce-working-with-ssl/278286/16 "2014-08-14T10:15:34Z")

</div>

The upgrade to allow the use of SSL in Perforce on Mac is available in 4.4.
