B4J Question [Solved] SSL with 1&1 certificate mini tutorial

Discussion in 'B4J Questions' started by magi6162, Mar 3, 2018.

  1. magi6162

    magi6162 Well-Known Member Licensed User

    My site is on an instance GCE (ubuntu 17.10)
    I have configured (thanks to the members of this forum) for SSL
    All OK now I can do https: // ....
    However, by testing the site's SSL with Global Sign, I get a B.
    the report says:

    Can I do something to change to A?
     
    Last edited: Mar 3, 2018
  2. magi6162

    magi6162 Well-Known Member Licensed User

    Sorry, now traslate in english:rolleyes:
     
  3. magi6162

    magi6162 Well-Known Member Licensed User

    i found::)
    I had to concatenate both the certificate "Intermediate" and that "ssl"
    Now "A" on Global Sign

    if start certificate from 1&1:
    the password:
    in red:
    Code:
    Private Sub ConfigureSSL (SslPort As Int)
        
    'example of SSL connector configuration
        Dim ssl As SslConfiguration
        ssl.Initialize
        ssl.SetKeyStorePath(
    File.DirApp & "/cert""mysite.it_new.keystore"'path to keystore file
        ssl.KeyStorePassword = "123456789"
        ssl.KeyManagerPassword = 
    "987654321"
        srvr.SetSslConfiguration(ssl, SslPort)
        
    'add filter to redirect all traffic from http to https (optional)
        srvr.AddFilter("/*""HttpsFilter"False)
    End Sub
     
    juvanum, OliverA and moster67 like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice