|
|
"Dima M. Kullab" <deema@xxxxxxxxxxx> said: > > Hi, > I'm trying to build an rpm from openvpn-1.5.0 on a RedHat 9, but there is > always a failure even though all pre-requirements are isntalled. The output is > as follows: > > ********* > error: Name field must be present in package: (main package) > error: Version field must be present in package: (main package) > error: Release field must be present in package: (main package) > error: Summary field must be present in package: (main package) > error: Group field must be present in package: (main package) > error: License field must be present in package: (main package) > ********* > I'm not sure what the problem could be, so I tried installing from source > code (tarball), and there were no problems at all!! I even tested it on the > loopback interface as suggested in the INSTALL file with no problems!! I don't have any trouble (on RH7 or RH8) doing a rpmbuild -tb openvpn-1.5.0.tar.gz The only problem I can recall with building RPM on RH9 is that it didn't handle OpenSSL header files correctly without a workaround in the configure script. That workaround is present in 1.5.0. RH7 and RH8 don't need the workaround. > The problems started to appear in the configuration later. The master > certificate authority certificate/private-key pair was successfully created, > but when I attempted to create certificate/private-key pairs for both peers, > following the HOW-TO instructions. What I did was the following: > > openssl req -nodes -new -keyout office.key -out office.csr > openssl ca -out office.crt -in office.csr > > The first command executed perfectly and the .key and .csr file were created. > The second one, on the other hand, produced the following reponse: > > ******** > Using configuration from /usr/share/ssl/openssl.cnf > wrong number of fields on line 1 (looking for field 6, got 1, '' left) > ******** > > and the final result is that certificate (.crt) file could not be created!! I > would really appreciate if someone can help me!! Check out the "easy-rsa" package included with OpenVPN. It supplies its own openssl.cnf file. James > > Thank you! > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Openvpn-users mailing list > Openvpn-users@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/openvpn-users > -- ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |