Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

3CX Phone System v12 fails depending on certificate password

Discussion in '3CX Phone System - General' started by MatsW, Sep 27, 2013.

Thread Status:
Not open for further replies.
  1. MatsW

    Joined:
    Mar 10, 2009
    Messages:
    50
    Likes Received:
    0
    I'm trying to install 3CX PhoneSystem v12 on a fresh Win7 SP1 system. But the installer fails while doing some CA work, and the failure seems to be related to what the last character is in "Certificate Password" and in "PEM pass phrase". I can verify this by re-running the installer providing different passwords. This is what it looks like when I enter a Certificate Password which ends with "#" (I've tested with different passwords and the last characted of the password always show up as invalid command).

    ####################################################################################

    DEK-Info: DES-EDE3-CBC,EA1649E352923325

    z+EesMD3w48zhqjjjsFlASJQ/m5Jgc39AI8bY4u4rfBkCt4Rcnf8APJ7Hs1dmUQI
    rMZj/aqsstK/+HSxtkVNEOEboxFF3/OTQUvD3d3hKRfqliaf1XLaG/Q1eGWq9AdG
    9oQtdafLElUuePPVbR8scgGfYdMTUxE1vfg34RFRa+0Ek2rcjN7tCxTFZWkKhBTV
    2lyRcVgvxpSeqr8v0ubCKLIouvhCVKMjeEJ7b1ofa9qSPqepDJ8ViirS25srVdEJ
    DoxowOY+DqGb6pg0NHoxrai6/YliKUjIy/zMHoVJbTtOYmifuTzkB2PswlsNBctT
    TWzK0TpcXkEA9VLXzgaGpoIK33Yd1xml0vc/lXNmvoPXgx8WpoOaT06LpMISzVLY
    Psg6s0j3+Nv0LwJ+JpLVAmWUeEzXMI/OnjGZZXTX32YWmZOguLpYSZoBf0QmcO7e
    DgFe6KgUqNLbZr3zRRmgwCok6/g7mh9dEW8Wz3T5G7CICnCc2XjuAcAIbbndzLpF
    eVelUSlkXxAQFIZiLt6yJ81udZquO9U5hckcvamuFUar0A2ckaLuBOSwQLQh//xs
    N4nmjuswimUs8xxUyV3TkAXTGqS166wYqHfXEoBXjyAI5DQyhKtBS8UvQ+956hKO
    WHYC9ttIl+r8t+m4r2+0yAyZi86xWbQT001O91B0RMi5SYHlxLQeSECwvprynwBd
    Rdbj7SHULpSIcxAfsA3bDP0TEq2aY7bRKCjffOeaSnsbCQbjPGGw/pmzikqzs2uP
    WKi0bUrD00L7ebsm3uLZJmCYPjTcRQrb27JlFdWzgH6wbTzfaydTaw==
    -----END RSA PRIVATE KEY-----
    # är inte ett internt kommando, externt kommando,
    program eller kommandofil.
    Loading 'screen' into random state - done
    Generating a 4096 bit RSA private key
    .....................++
    ..............................................++
    writing new private key to 'privkey.pem'
    Enter PEM pass phrase:
    Verifying - Enter PEM pass phrase:

    ####################################################################################

    And this is the output when I enter the samme password as "PEM passphrase

    ####################################################################################

    7YqRJOoHzi73CKjBOEyP2mGsbOJMTw/je5mRttERPeFFfc2Mj+Yek9J+94VBjeUF
    4R4LSQwZm3v3Y4htEoQOlwO9M3suX5V12b23xp+EdXOYbfuxH14TOPIwYg+2hDdQ
    1RtMg/hSVL3JA0bd3s0Z91Zansy7g/V7heQjejFA+OSdYZq05HXzVjbguMD0bi/d
    bEjUIQkpkOcGFyB+ZRJN4p0utipK1g8cQs4=
    -----END CERTIFICATE-----
    # är inte ett internt kommando, externt kommando,
    program eller kommandofil.
    Loading 'screen' into random state - done
    Generating RSA private key, 1024 bit long modulus
    ................++++++
    ...++++++
    e is 65537 (0x10001)
    Loading 'screen' into random state - done
    Using configuration from C:\ProgramData\3CX\Bin\SSL\openssl.cnf
    Loading 'screen' into random state - done
    Error opening CA private key ./root/CA/ca.key
    2520:error:02001002:system library:fopen:No such file or directory:.\crypto\bio\
    bss_file.c:398:fopen('./root/CA/ca.key','rb')
    2520:error:20074002:BIO routines:FILE_CTRL:system lib:.\crypto\bio\bss_file.c:40
    0:
    unable to load CA private key
    # är inte ett internt kommando, externt kommando,
    program eller kommandofil.
    Loading 'screen' into random state - done

    ####################################################################################

    Does anyone have a clue on what the problem can be ? Are there limitations on what the valid characters for passwords are ?

    Kind regards
     
  2. StefanW

    StefanW Head of Customer Support and Training
    Staff Member 3CX Support

    Joined:
    Jun 2, 2009
    Messages:
    1,222
    Likes Received:
    93
    Re: 3CX Phone System v12 fails depending on certificate pass

    do not use "excaping" characters and it will work
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. MatsW

    Joined:
    Mar 10, 2009
    Messages:
    50
    Likes Received:
    0
    Re: 3CX Phone System v12 fails depending on certificate pass

    If that is the case then the installer needs to verify the password for invalid characters. I just selected HTTP and bypassed the bug
     
Thread Status:
Not open for further replies.