Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Socket.SSL.UsePrivateKeyFile
Defines to use a private key file for this SSL socket.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Socket | 3.5 | Yes | Yes | Yes | Yes | Yes |
MBS( "Socket.SSL.UsePrivateKeyFile"; SocketID; Path; Type ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| SocketID | The socket ID received by Socket.Connect function. | $sock |
| Path | The path to the certificate file. | $path |
| Type | The type of the file. Can be "PEM" or "ASN1". | "PEM" |
Result
Returns OK on success or error.
Description
Defines to use a private key file for this SSL socket.This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
For Server be aware that server has limited permissions and may not be able to access all files on a computer.
See also
Created 18th August 2014, last changed 5th September 2014
Socket.SSL.UseCertificateFile - Socket.SendMessage
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins