Show / Hide Table of Contents

    Introduction

    The FTPS support enables encrypted communication with the server.

    How to use FTPS

    FTPS is automatically enabled as soon as you have set an X509 certificate with private key (read: the X509Certificate2 from a .pfx/.pkcs12 file) in the AuthTlsOptions.

    Example

    var cert = new X509Certificate2("my.pfx", "my-super-strong-password-that-nobody-knows");
    services.Configure<AuthTlsOptions>(cfg => cfg.ServerCertificate = cert);
    

    Epilogue

    You can test this - like many other things - using the sample application in the repository.

    • Improve this Doc
    Back to top
    Copyright © 2018 Fubar Development Junker
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.