Skip to content

Apache config parse failure with missing double quote in directive argument #1724

Closed

Description

@domcleal

Originally reported by @hokascha at #1294 (comment), refiling as a new issue.

The SSLCipherSuite directive here is missing an ending double quote, but Apache appears to parse it fine (it passes a config test anyway) while Augeas (under LE) fails.

    SSLProtocol all -SSLv2 -SSLv3
        SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRS$
        SSLCertificateFile /etc/ssl/certs/example.com.crt

Full config at https://gist.github.com/hokascha/87da802584fa2b0675cc.

Waiting on a fix in Augeas, filed as hercules-team/augeas#330.

Activity

  1. hokascha commented on Dec 4, 2015

    @hokascha

    Adding the missing ending double quote fixes the problem. Even better, adding the missing CipherSuites fixes it too ;-) Looks like I accidentially missed to copy the full line from my template config on that host. Full line should be (and parses ok):

    SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS"
    
  2. domcleal commented on Dec 10, 2015

    @domcleal
    ContributorAuthor

    Ah yes, I see what you mean - the $ gives it away now! As it happens, we came across another example of this at the end of #1531, where it's valid syntax for ErrorDocument messages etc.

  3. added this to the 0.1.1 milestone on Dec 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions