Is Perforce working with SSL?

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.

1 Like

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.

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.

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.

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

1 Like

Thank you!

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.

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.

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.

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?

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, amongst others.

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

Sorry, OSX 10.9.3

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

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?

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