Hi Haktan,
I'm having similar problems. My first effort to request a certificate for IPSEC(Offline Use) seemed to generate a certificate that imported into the System keychain without drama, but when I try to use it as a machine certificate, OSX complains that there is no valid certificate...